Refactoring: Use %op%
This commit is contained in:
parent
6c4f5fc496
commit
0730fad778
|
@ -6891,7 +6891,7 @@ bool Tokenizer::simplifyKnownVariablesSimplify(Token **tok2, Token *tok3, unsign
|
|||
}
|
||||
|
||||
// array usage
|
||||
if (Token::Match(tok3, ("[(,] " + structname + " %varid% [+-*/[]").c_str(), varid))
|
||||
if (Token::Match(tok3, ("[(,] " + structname + " %varid% [|%op%").c_str(), varid))
|
||||
{
|
||||
if (!structname.empty())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue