We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d215a98 commit 31efa3eCopy full SHA for 31efa3e
lib/tokenize.cpp
@@ -6363,7 +6363,7 @@ void Tokenizer::simplifyHeadersAndUnusedTemplates()
6363
}
6364
6365
6366
- if (!tok->previous() || Token::Match(tok->previous(), "[;{}]")) {
+ if (!tok->previous() || Token::Match(tok->previous(), "[;{}:]")) {
6367
// Remove unused function declarations
6368
if (isIncluded && removeUnusedIncludedFunctions) {
6369
while (true) {
0 commit comments