We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3bb547 commit 67965c9Copy full SHA for 67965c9
1 file changed
lib/tokenize.cpp
@@ -6513,7 +6513,7 @@ void Tokenizer::simplifyHeadersAndUnusedTemplates()
6513
}
6514
6515
6516
- if (!tok->previous() || Token::Match(tok->previous(), "[;{}]")) {
+ if (!tok->previous() || Token::Match(tok->previous(), "[;{}:]")) {
6517
// Remove unused function declarations
6518
if (isIncluded && removeUnusedIncludedFunctions) {
6519
while (true) {
0 commit comments