Skip to content

Commit 18c95bf

Browse files
Update symboldatabase.cpp
1 parent cb76e52 commit 18c95bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/symboldatabase.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,8 @@ void SymbolDatabase::createSymbolDatabaseIncompleteVars()
15211521
continue;
15221522
if (Token::Match(tok->next(), "&|&&|* *| *| )|,|%var%|const"))
15231523
continue;
1524+
if (Token::Match(tok->previous(), "%str%"))
1525+
continue;
15241526
// Very likely a typelist
15251527
if (Token::Match(tok->tokAt(-2), "%type% ,") || Token::Match(tok->next(), ", %type%"))
15261528
continue;

0 commit comments

Comments
 (0)