Skip to content

Commit 9911914

Browse files
committed
astyle formatting
[ci skip]
1 parent e8fb3c0 commit 9911914

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/checkautovariables.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,10 @@ void CheckAutoVariables::checkVarLifetimeScope(const Token * start, const Token
657657
}
658658
if (tok->str() == "{" && tok->scope()) {
659659
// Check functions in local classes
660-
if (tok->scope()->type == Scope::eClass ||
661-
tok->scope()->type == Scope::eStruct ||
660+
if (tok->scope()->type == Scope::eClass ||
661+
tok->scope()->type == Scope::eStruct ||
662662
tok->scope()->type == Scope::eUnion) {
663-
for(const Function& f:tok->scope()->functionList) {
663+
for (const Function& f:tok->scope()->functionList) {
664664
if (f.functionScope)
665665
checkVarLifetimeScope(f.functionScope->bodyStart, f.functionScope->bodyEnd);
666666
}

0 commit comments

Comments
 (0)