Travis: Suppress false positive
This commit is contained in:
parent
2d1c47b474
commit
cc82288ff6
|
@ -8,6 +8,7 @@ passedByValue:lib/library.h
|
||||||
knownConditionTrueFalse:lib/platform.cpp
|
knownConditionTrueFalse:lib/platform.cpp
|
||||||
knownConditionTrueFalse:build/*
|
knownConditionTrueFalse:build/*
|
||||||
nullPointer:lib/checkother.cpp
|
nullPointer:lib/checkother.cpp
|
||||||
|
nullPointer:build/checkother.cpp
|
||||||
|
|
||||||
*:gui/test*
|
*:gui/test*
|
||||||
*:test/test.cxx
|
*:test/test.cxx
|
||||||
|
|
|
@ -924,9 +924,10 @@ 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;
|
||||||
|
|
Loading…
Reference in New Issue