summaryrefslogtreecommitdiff
path: root/unittests/IR/LegacyPassManagerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/IR/LegacyPassManagerTest.cpp')
-rw-r--r--unittests/IR/LegacyPassManagerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/IR/LegacyPassManagerTest.cpp b/unittests/IR/LegacyPassManagerTest.cpp
index 284a513b522..df6f460df95 100644
--- a/unittests/IR/LegacyPassManagerTest.cpp
+++ b/unittests/IR/LegacyPassManagerTest.cpp
@@ -346,7 +346,7 @@ namespace llvm {
template<typename T>
void MemoryTestHelper(int run) {
- OwningPtr<Module> M(makeLLVMModule());
+ std::unique_ptr<Module> M(makeLLVMModule());
T *P = new T();
PassManager Passes;
Passes.add(new DataLayoutPass(M.get()));