We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b77d586 commit 9cbe37fCopy full SHA for 9cbe37f
1 file changed
lib/tokenize.cpp
@@ -6413,7 +6413,7 @@ void Tokenizer::simplifyHeadersAndUnusedTemplates()
6413
} else {
6414
Token *funcTok = closingBracket->next();
6415
while (funcTok) {
6416
- 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% (")) {
6417
funcTok = funcTok->next();
6418
continue;
6419
}
0 commit comments