parent
78df7f98dd
commit
c3a44ce56b
|
@ -142,7 +142,8 @@ static const Token * getVariableInitExpression(const Variable * var)
|
|||
return var->declEndToken()->astOperand2();
|
||||
}
|
||||
|
||||
static bool isInLoopCondition(const Token * tok) {
|
||||
static bool isInLoopCondition(const Token * tok)
|
||||
{
|
||||
return Token::Match(tok->astTop()->previous(), "for|while (");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue