Running astyle [ci skip]
This commit is contained in:
parent
40f76b9bc0
commit
55df395a4e
|
@ -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();
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue