summaryrefslogtreecommitdiff
path: root/unittests/AST/DeclTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/AST/DeclTest.cpp')
-rw-r--r--unittests/AST/DeclTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/AST/DeclTest.cpp b/unittests/AST/DeclTest.cpp
index c845da2ca6..87aeef47c6 100644
--- a/unittests/AST/DeclTest.cpp
+++ b/unittests/AST/DeclTest.cpp
@@ -20,7 +20,7 @@ using namespace clang::tooling;
TEST(Decl, CleansUpAPValues) {
MatchFinder Finder;
- llvm::OwningPtr<FrontendActionFactory> Factory(
+ std::unique_ptr<FrontendActionFactory> Factory(
newFrontendActionFactory(&Finder));
// This is a regression test for a memory leak in APValues for structs that