We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41671ba commit eb4a341Copy full SHA for eb4a341
1 file changed
lib/tokenize.cpp
@@ -6568,7 +6568,7 @@ void Tokenizer::simplifyHeadersAndUnusedTemplates()
6568
} else {
6569
Token *funcTok = closingBracket->next();
6570
while (funcTok) {
6571
- if (Token::Match(funcTok, "static|inline|const|%type%|&|&&|*") && !Token::Match(funcTok, "%name% (")) {
+ if (Token::Match(funcTok, "constexpr|static|inline|const|%type%|&|&&|*") && !Token::Match(funcTok, "%name% (")) {
6572
funcTok = funcTok->next();
6573
continue;
6574
}
0 commit comments