summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/Transforms/DebugIR/DebugIR.cpp')
-rw-r--r--llvm/unittests/Transforms/DebugIR/DebugIR.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp b/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
index 590fa8eac6c..497dae30cb1 100644
--- a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
+++ b/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
@@ -90,8 +90,8 @@ protected:
LLVMContext Context;
char *cwd;
- OwningPtr<Module> M;
- OwningPtr<DebugIR> D;
+ std::unique_ptr<Module> M;
+ std::unique_ptr<DebugIR> D;
};
// Test empty named Module that is not supposed to be output to disk.
OpenPOWER on IntegriCloud