summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/CommentHandlerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Tooling/CommentHandlerTest.cpp')
-rw-r--r--clang/unittests/Tooling/CommentHandlerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Tooling/CommentHandlerTest.cpp b/clang/unittests/Tooling/CommentHandlerTest.cpp
index 682f19e9b13..9c3abdc4b15 100644
--- a/clang/unittests/Tooling/CommentHandlerTest.cpp
+++ b/clang/unittests/Tooling/CommentHandlerTest.cpp
@@ -56,8 +56,8 @@ public:
CommentVerifier GetVerifier();
protected:
- std::unique_ptr<FrontendAction> CreateTestAction() override {
- return llvm::make_unique<CommentHandlerAction>(this);
+ ASTFrontendAction *CreateTestAction() override {
+ return new CommentHandlerAction(this);
}
private:
OpenPOWER on IntegriCloud