diff options
Diffstat (limited to 'clang/unittests/Tooling/ExecutionTest.cpp')
-rw-r--r-- | clang/unittests/Tooling/ExecutionTest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/unittests/Tooling/ExecutionTest.cpp b/clang/unittests/Tooling/ExecutionTest.cpp index 19e5de7823c..26db8c6d0ea 100644 --- a/clang/unittests/Tooling/ExecutionTest.cpp +++ b/clang/unittests/Tooling/ExecutionTest.cpp @@ -79,9 +79,7 @@ private: class ReportResultActionFactory : public FrontendActionFactory { public: ReportResultActionFactory(ExecutionContext *Context) : Context(Context) {} - std::unique_ptr<FrontendAction> create() override { - return llvm::make_unique<ReportResultAction>(Context); - } + FrontendAction *create() override { return new ReportResultAction(Context); } private: ExecutionContext *const Context; |