Revert changes I committed by mistake

This commit is contained in:
Daniel Marjamäki 2017-10-11 17:15:28 +02:00
parent cc82288ff6
commit 1656ecd73b
1 changed files with 1 additions and 2 deletions

View File

@ -924,10 +924,9 @@ const Library::Container* Library::detectContainer(const Token* typeStart, bool
// returns true if ftok is not a library function // returns true if ftok is not a library function
bool Library::isNotLibraryFunction(const Token *ftok) const bool Library::isNotLibraryFunction(const Token *ftok) const
{ {
/*
if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal) if (ftok->function() && ftok->function()->nestedIn && ftok->function()->nestedIn->type != Scope::eGlobal)
return true; return true;
*/
// variables are not library functions. // variables are not library functions.
if (ftok->varId()) if (ftok->varId())
return true; return true;