Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / unittests / Transforms / DebugIR / DebugIR.cpp
index 590fa8eac6ce531ac89253bac2790d783c50d62c..497dae30cb1ea1d5d9a9dba54d45ed64df8aa228 100644 (file)
@@ -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.