Fixed internal warning
This commit is contained in:
parent
b20a7e3192
commit
0ac89c8af2
|
@ -189,7 +189,7 @@ void CheckSizeof::checkSizeofForPointerSize()
|
|||
// This is to allow generic operations with sizeof
|
||||
for (; tokSize && tokSize->str() != ")" && tokSize->str() != "," && tokSize->str() != "sizeof"; tokSize = tokSize->next()) {}
|
||||
|
||||
if (Token::Match(tokSize, "sizeof ( &"))
|
||||
if (Token::simpleMatch(tokSize, "sizeof ( &"))
|
||||
tokSize = tokSize->tokAt(3);
|
||||
else if (Token::Match(tokSize, "sizeof (|&"))
|
||||
tokSize = tokSize->tokAt(2);
|
||||
|
|
Loading…
Reference in New Issue