Clang importing; Use ValueFlow

This commit is contained in:
Daniel Marjamäki 2020-01-05 19:21:13 +01:00
parent fa727185e5
commit 0b765cd253
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ unsigned int CppCheck::check(const std::string &path)
std::istringstream ast(res.second);
Tokenizer tokenizer(&mSettings, this);
clangastdump::parseClangAstDump(&tokenizer, ast);
//ValueFlow::setValues(&tokenizer.list, const_cast<SymbolDatabase *>(tokenizer.getSymbolDatabase()), this, &mSettings);
ValueFlow::setValues(&tokenizer.list, const_cast<SymbolDatabase *>(tokenizer.getSymbolDatabase()), this, &mSettings);
if (mSettings.debugnormal)
tokenizer.printDebugOutput(1);
ExprEngine::runChecks(this, &tokenizer, &mSettings);