diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-28 10:06:50 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-28 10:06:50 +0000 |
commit | 5ecf7ca2acb05d5589ac184593603f768c3a4d37 (patch) | |
tree | 06372621b19fc0350f7eb26331c1011ba47e8d69 /tool-template | |
parent | 3107ba68edac3ecfc39f53e98cfc4d2bf7bccc6b (diff) |
Try to fix the build. newFrontendActionFactory was changed to return a unique_ptr.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@207407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tool-template')
-rw-r--r-- | tool-template/ToolTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool-template/ToolTemplate.cpp b/tool-template/ToolTemplate.cpp index 7be964f9..48a44acc 100644 --- a/tool-template/ToolTemplate.cpp +++ b/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()); } |