aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-09-17 13:05:20 +0000
committerbloodstalker <thabogre@gmail.com>2017-09-17 13:05:20 +0000
commite7c7c7112ecc5c320459cace93826ce9c31db8b6 (patch)
treedeabb7ea09d69d3d5377946278341465ff89df7b /bruiser/bruiser.cpp
parentchanged the latest tested trunk of llvm-clang to 312884 (diff)
downloadmutator-e7c7c7112ecc5c320459cace93826ce9c31db8b6.tar.gz
mutator-e7c7c7112ecc5c320459cace93826ce9c31db8b6.zip
not much
Diffstat (limited to '')
-rw-r--r--bruiser/bruiser.cpp2
1 files changed, 2 insertions, 0 deletions
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<std::unique_ptr<ASTUnit>> ASTs;
+ auto buildASTRes = Tool.buildASTs(ASTs);
CompilationDatabase &CDB = op.getCompilations();
std::vector<CompileCommand> CCV = CDB.getAllCompileCommands();