We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83664f5 commit 9b5d1f0Copy full SHA for 9b5d1f0
1 file changed
lib/tokenize.cpp
@@ -5544,7 +5544,7 @@ void Tokenizer::createLinks2()
5544
5545
while (!type.empty() && type.top()->str() == "<") {
5546
const Token* end = type.top()->findClosingBracket();
5547
- if (Token::Match(end, "> %comp%|;|.|=|{|(|)|::"))
+ if (Token::Match(end, "> %comp%|;|.|=|{|}|(|)|::"))
5548
break;
5549
// Variable declaration
5550
if (Token::Match(end, "> %var% ;") && (type.top()->tokAt(-2) == nullptr || Token::Match(type.top()->tokAt(-2), ";|}|{")))
0 commit comments