We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff9166b commit 85fc597Copy full SHA for 85fc597
lib/tokenize.cpp
@@ -8708,7 +8708,7 @@ void Tokenizer::findGarbageCode() const
8708
syntaxError(tok);
8709
if (Token::Match(tok, "typedef [,;:]"))
8710
8711
- if (Token::Match(tok, "! %comp%"))
+ if (Token::Match(tok, "!|~ %comp%"))
8712
8713
if (Token::Match(tok, "] %name%") && (!isCPP() || !(tok->tokAt(-1) && Token::simpleMatch(tok->tokAt(-2), "delete [")))) {
8714
if (tok->next()->isUpperCaseName())
0 commit comments