Clang import: debug output

This commit is contained in:
Daniel Marjamäki 2020-01-05 16:58:02 +01:00
parent 90f82d0374
commit 211af1d4fe
1 changed files with 3 additions and 3 deletions

View File

@ -253,9 +253,9 @@ 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);
//ValueFlow::setValues(&tokenizer.list, const_cast<SymbolDatabase *>(tokenizer.getSymbolDatabase()), this, &mSettings);
if (mSettings.debugnormal)
tokenizer.printDebugOutput(1);
ExprEngine::runChecks(this, &tokenizer, &mSettings);
return 0;
}