From 0b765cd2535a9b17de42458282a120918057c43c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 5 Jan 2020 19:21:13 +0100 Subject: [PATCH] Clang importing; Use ValueFlow --- lib/cppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 4100fb7a6..e1740736c 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -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(tokenizer.getSymbolDatabase()), this, &mSettings); + ValueFlow::setValues(&tokenizer.list, const_cast(tokenizer.getSymbolDatabase()), this, &mSettings); if (mSettings.debugnormal) tokenizer.printDebugOutput(1); ExprEngine::runChecks(this, &tokenizer, &mSettings);