src: removed last unused references to PreprocessorOnlyAction

This commit is contained in:
mlangkabel
2017-11-27 16:23:44 +01:00
parent adf8c3e5fc
commit a5c4287e53
3 changed files with 4 additions and 13 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ void CxxParser::buildIndex(const std::string& fileName, std::shared_ptr<TextAcce
std::shared_ptr<CanonicalFilePathCache> canonicalFilePathCache = std::make_shared<CanonicalFilePathCache>();
std::shared_ptr<CxxDiagnosticConsumer> diagnostics = getDiagnostics(canonicalFilePathCache, false);
ASTActionFactory actionFactory(m_client, m_fileRegister, canonicalFilePathCache, false);
ASTActionFactory actionFactory(m_client, m_fileRegister, canonicalFilePathCache);
std::vector<std::string> args = getCommandlineArgumentsEssential(std::vector<std::string>(1, "-std=c++1z"), std::vector<FilePath>(), std::vector<FilePath>());
@@ -129,7 +129,7 @@ void CxxParser::runTool(clang::tooling::CompilationDatabase* compilationDatabase
tool.setDiagnosticConsumer(diagnostics.get());
ASTActionFactory actionFactory(m_client, m_fileRegister, canonicalFilePathCache, false);
ASTActionFactory actionFactory(m_client, m_fileRegister, canonicalFilePathCache);
tool.run(&actionFactory);
}