Skip to content

Commit f89d031

Browse files
committed
Fix #14483
1 parent c76384e commit f89d031

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/symboldatabase.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5266,6 +5266,8 @@ const Variable *Scope::getVariable(const std::string &varname) const
52665266

52675267
static const Token* skipPointers(const Token* tok)
52685268
{
5269+
if (Token::Match(tok, "%type% :: *"))
5270+
tok = tok->tokAt(3);
52695271
while (Token::Match(tok, "*|&|&&") || (Token::Match(tok, "( [*&]") && Token::Match(tok->link()->next(), "(|["))) {
52705272
tok = tok->next();
52715273
if (tok && tok->strAt(-1) == "(" && Token::Match(tok, "%type% ::"))

0 commit comments

Comments
 (0)