summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/tool-template/ToolTemplate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/tool-template/ToolTemplate.cpp')
-rw-r--r--clang-tools-extra/tool-template/ToolTemplate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/tool-template/ToolTemplate.cpp b/clang-tools-extra/tool-template/ToolTemplate.cpp
index 7be964f9783..48a44acc4ad 100644
--- a/clang-tools-extra/tool-template/ToolTemplate.cpp
+++ b/clang-tools-extra/tool-template/ToolTemplate.cpp
@@ -103,5 +103,5 @@ int main(int argc, const char **argv) {
// Use Finder.addMatcher(...) to define the patterns in the AST that you
// want to match against. You are not limited to just one matcher!
- return Tool.run(newFrontendActionFactory(&Finder));
+ return Tool.run(newFrontendActionFactory(&Finder).get());
}
OpenPOWER on IntegriCloud