Clang import: debug output
This commit is contained in:
parent
90f82d0374
commit
211af1d4fe
|
@ -253,9 +253,9 @@ unsigned int CppCheck::check(const std::string &path)
|
||||||
std::istringstream ast(res.second);
|
std::istringstream ast(res.second);
|
||||||
Tokenizer tokenizer(&mSettings, this);
|
Tokenizer tokenizer(&mSettings, this);
|
||||||
clangastdump::parseClangAstDump(&tokenizer, ast);
|
clangastdump::parseClangAstDump(&tokenizer, ast);
|
||||||
ValueFlow::setValues(&tokenizer->list, tokenizer.getSymbolDatabase(), this, &mSettings);
|
//ValueFlow::setValues(&tokenizer.list, const_cast<SymbolDatabase *>(tokenizer.getSymbolDatabase()), this, &mSettings);
|
||||||
//tokenizer.tokens()->printOut("");
|
if (mSettings.debugnormal)
|
||||||
//tokenizer.tokens()->printAst(true, false, std::cout);
|
tokenizer.printDebugOutput(1);
|
||||||
ExprEngine::runChecks(this, &tokenizer, &mSettings);
|
ExprEngine::runChecks(this, &tokenizer, &mSettings);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue