astyle formatting

This commit is contained in:
Daniel Marjamäki 2013-07-28 11:53:49 +02:00
parent 862eb351d5
commit 36ef34a2cf
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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());
}