We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c85903 commit 12c0516Copy full SHA for 12c0516
1 file changed
lib/tokenize.cpp
@@ -6563,7 +6563,7 @@ void Tokenizer::simplifyHeadersAndUnusedTemplates()
6563
} else {
6564
Token *funcTok = closingBracket->next();
6565
while (funcTok) {
6566
- 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% (")) {
6567
funcTok = funcTok->next();
6568
continue;
6569
}
0 commit comments