parent
e2a4b1706c
commit
0a66f5c4f9
|
@ -362,8 +362,7 @@ static const Token * getIteratorExpression(const Token * tok)
|
|||
const Token *iter2 = getIteratorExpression(tok->astOperand2());
|
||||
if (iter2)
|
||||
return iter2;
|
||||
}
|
||||
else if (Token::Match(tok, "begin|cbegin|rbegin|crbegin|end|cend|rend|crend (")) {
|
||||
} else if (Token::Match(tok, "begin|cbegin|rbegin|crbegin|end|cend|rend|crend (")) {
|
||||
if (Token::Match(tok->previous(), ". %name% ( )"))
|
||||
return tok->previous()->astOperand1();
|
||||
if (Token::Match(tok, "%name% ( !!)"))
|
||||
|
|
Loading…
Reference in New Issue