parent
7ee636b934
commit
4b8769a9f5
|
@ -544,8 +544,8 @@ bool isVariableChanged(const Token *start, const Token *end, const unsigned int
|
||||||
if (Token::Match(tok->previous(), "++|-- %name%"))
|
if (Token::Match(tok->previous(), "++|-- %name%"))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (isLikelyStreamRead(cpp, tok->previous()))
|
if (isLikelyStreamRead(cpp, tok->previous()))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
const Token *ftok = tok;
|
const Token *ftok = tok;
|
||||||
while (ftok && !Token::Match(ftok, "[({[]"))
|
while (ftok && !Token::Match(ftok, "[({[]"))
|
||||||
|
|
Loading…
Reference in New Issue