astyle formatting
This commit is contained in:
parent
862eb351d5
commit
36ef34a2cf
|
@ -370,7 +370,7 @@ void CheckLeakAutoVar::checkScope(const Token * const startToken,
|
|||
else if (tok->str() == "goto") {
|
||||
varInfo->clear();
|
||||
}
|
||||
|
||||
|
||||
// continue/break
|
||||
else if (Token::Match(tok, "continue|break ;")) {
|
||||
varInfo->clear();
|
||||
|
|
|
@ -328,7 +328,7 @@ private:
|
|||
"}");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
}
|
||||
|
||||
|
||||
void doublefree3() { // #4914
|
||||
check("void foo() {\n"
|
||||
" bool done = false;\n"
|
||||
|
@ -343,7 +343,7 @@ private:
|
|||
" } while(!done);\n"
|
||||
" return;"
|
||||
"}"
|
||||
);
|
||||
);
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue