Importing Clang ast dump: Run ValueFlow analysis

This commit is contained in:
Daniel Marjamäki 2020-01-05 16:23:02 +01:00
parent b03bdfaf72
commit bc17b9a1be
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +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, tokenizer.getSymbolDatabase(), this, &mSettings);
//tokenizer.tokens()->printOut("");
//tokenizer.tokens()->printAst(true, false, std::cout);
ExprEngine::runChecks(this, &tokenizer, &mSettings);