From e7c7c7112ecc5c320459cace93826ce9c31db8b6 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 17 Sep 2017 17:35:20 +0430 Subject: not much --- bruiser/bruiser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bruiser') diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp index e16ffb4..0ec8d7d 100644 --- a/bruiser/bruiser.cpp +++ b/bruiser/bruiser.cpp @@ -1556,6 +1556,8 @@ int main(int argc, const char **argv) /*gets the compilation database and options for the clang instances that we would later run*/ CommonOptionsParser op(argc, argv, BruiserCategory); ClangTool Tool(op.getCompilations(), op.getSourcePathList()); + std::vector> ASTs; + auto buildASTRes = Tool.buildASTs(ASTs); CompilationDatabase &CDB = op.getCompilations(); std::vector CCV = CDB.getAllCompileCommands(); -- cgit v1.2.3