We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f6840d commit 2d1174dCopy full SHA for 2d1174d
1 file changed
lib/tokenize.cpp
@@ -10022,6 +10022,8 @@ void Tokenizer::simplifyBitfields()
10022
Token* typeTok = tok->next();
10023
while (Token::Match(typeTok, "const|volatile"))
10024
typeTok = typeTok->next();
10025
+ while (Token::Match(typeTok, "%name% :: %name%"))
10026
+ typeTok = typeTok->tokAt(2);
10027
if (Token::Match(typeTok, "%type% %name% :") &&
10028
!Token::Match(tok->next(), "case|public|protected|private|class|struct") &&
10029
!Token::simpleMatch(tok->tokAt(2), "default :")) {
0 commit comments