[find-all-symbols] fixed FindAllMacros compilation error.

llvm-svn: 270196
This commit is contained in:
Eric Liu 2016-05-20 09:23:19 +00:00
parent 38de59e4d9
commit 81554e7257
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public:
StringRef InFile) override {
Compiler.getPreprocessor().addCommentHandler(&Handler);
Compiler.getPreprocessor().addPPCallbacks(llvm::make_unique<FindAllMacros>(
&Reporter, &Collector, &Compiler.getSourceManager()));
&Reporter, &Compiler.getSourceManager(), &Collector));
return MatchFinder.newASTConsumer();
}