Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / unittests / Analysis / CFGTest.cpp
index bc029e37863469a4eecadd07e63a732bffe506e7..8d8c560d9e300b1b5a0b68ee30debe4a6afeec02 100644 (file)
@@ -8,7 +8,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Analysis/CFG.h"
-#include "llvm/ADT/OwningPtr.h"
 #include "llvm/Analysis/LoopInfo.h"
 #include "llvm/AsmParser/Parser.h"
 #include "llvm/IR/Dominators.h"
@@ -116,7 +115,7 @@ protected:
     PM.run(*M);
   }
 
-  OwningPtr<Module> M;
+  std::unique_ptr<Module> M;
   Instruction *A, *B;
 };