Replace Token::Match with Token::simpleMatch
This commit is contained in:
parent
b70fe4c609
commit
06110689a6
|
@ -699,7 +699,7 @@ bool Library::isNotLibraryFunction(const Token *ftok) const
|
|||
{
|
||||
// methods are not library functions
|
||||
// called from tokenizer, ast is not created properly yet
|
||||
if (Token::Match(ftok->previous(),"."))
|
||||
if (Token::simpleMatch(ftok->previous(),"."))
|
||||
return true;
|
||||
if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal)
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue