We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4d35a2 commit 564bddbCopy full SHA for 564bddb
1 file changed
lib/tokenize.cpp
@@ -6518,7 +6518,7 @@ void Tokenizer::simplifyHeadersAndUnusedTemplates()
6518
}
6519
6520
6521
- if (!tok->previous() || Token::Match(tok->previous(), "[;{}]")) {
+ if (!tok->previous() || Token::Match(tok->previous(), "[;{}:]")) {
6522
// Remove unused function declarations
6523
if (isIncluded && removeUnusedIncludedFunctions) {
6524
while (true) {
0 commit comments