Skip to content

Commit 2215b4a

Browse files
committed
fix #13881
1 parent 5936b11 commit 2215b4a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/tokenize.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,6 +2650,10 @@ namespace {
26502650
return false;
26512651
}
26522652

2653+
if (Token::Match(tok1->tokAt(-2), "> ::")) {
2654+
return false;
2655+
}
2656+
26532657
if (Token::Match(tok1, "%name% (") && TokenList::isFunctionHead(tok1->next(), "{;:")) {
26542658
if (Token::Match(tok1->previous(), "%name%") && !tok1->previous()->isControlFlowKeyword())
26552659
return false;

0 commit comments

Comments
 (0)