Running astyle [ci skip]

This commit is contained in:
orbitcowboy 2019-05-30 14:41:14 +02:00
parent 40f76b9bc0
commit 55df395a4e
2 changed files with 2 additions and 2 deletions

View File

@ -3750,7 +3750,7 @@ struct ValueFlowConditionHandler {
// if astParent is "!" we need to invert codeblock
{
const Token *tok2 = tok;
while(tok2->astParent()){
while (tok2->astParent()) {
const Token *parent = tok2->astParent();
while (parent && parent->str() == "&&")
parent = parent->astParent();

View File

@ -2254,7 +2254,7 @@ private:
"}";
ASSERT_EQUALS(true, testValueOfX(code, 3U, 0));
code = "int f(int x, int y) {\n"
code = "int f(int x, int y) {\n"
" if (!!(x != 0)) {\n"
" return y/x;\n"
"}\n"