Skip to content

Commit 9cbe37f

Browse files
committed
handle constexpr
1 parent b77d586 commit 9cbe37f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6413,7 +6413,7 @@ void Tokenizer::simplifyHeadersAndUnusedTemplates()
64136413
} else {
64146414
Token *funcTok = closingBracket->next();
64156415
while (funcTok) {
6416-
if (Token::Match(funcTok, "static|inline|const|%type%|&|&&|*") && !Token::Match(funcTok, "%name% (")) {
6416+
if (Token::Match(funcTok, "constexpr|static|inline|const|%type%|&|&&|*") && !Token::Match(funcTok, "%name% (")) {
64176417
funcTok = funcTok->next();
64186418
continue;
64196419
}

0 commit comments

Comments
 (0)