diff options
author | bloodstalker <thabogre@gmail.com> | 2017-09-17 13:05:20 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-09-17 13:05:20 +0000 |
commit | e7c7c7112ecc5c320459cace93826ce9c31db8b6 (patch) | |
tree | deabb7ea09d69d3d5377946278341465ff89df7b /bruiser/bruiser.cpp | |
parent | changed the latest tested trunk of llvm-clang to 312884 (diff) | |
download | mutator-e7c7c7112ecc5c320459cace93826ce9c31db8b6.tar.gz mutator-e7c7c7112ecc5c320459cace93826ce9c31db8b6.zip |
not much
Diffstat (limited to 'bruiser/bruiser.cpp')
-rw-r--r-- | bruiser/bruiser.cpp | 2 |
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(); |