Revert "Tokenizer: More specific bailout in simplifyKnownVariables for loop variable"
This reverts commit 7e9bb62dff
.
This commit is contained in:
parent
7e9bb62dff
commit
47e9fcb5a8
|
@ -5844,12 +5844,6 @@ bool Tokenizer::simplifyKnownVariables()
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Token::Match(tok2->tokAt(-2), "for ("))
|
|
||||||
{
|
|
||||||
// skip loop variable
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tok2->str() == tok2->strAt(2))
|
if (tok2->str() == tok2->strAt(2))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue