Fix issue 9390: valueFlowTerminatingCondition bailout: Skipping function due to incomplete variable NULL (#2412)
* Fix issue 9390: valueFlowTerminatingCondition bailout: Skipping function due to incomplete variable NULL * Uncomment keyword * Add nullptr as well
This commit is contained in:
parent
6bacc1987c
commit
2bdb7dc236
|
@ -1331,6 +1331,7 @@ void SymbolDatabase::createSymbolDatabaseIncompleteVars()
|
|||
"namespace",
|
||||
"new",
|
||||
"noexcept",
|
||||
"nullptr",
|
||||
"override",
|
||||
"private",
|
||||
"protected",
|
||||
|
@ -1353,6 +1354,7 @@ void SymbolDatabase::createSymbolDatabaseIncompleteVars()
|
|||
"virtual",
|
||||
"void",
|
||||
"volatile",
|
||||
"NULL",
|
||||
};
|
||||
for (const Token* tok = mTokenizer->list.front(); tok != mTokenizer->list.back(); tok = tok->next()) {
|
||||
const Scope * scope = tok->scope();
|
||||
|
|
Loading…
Reference in New Issue