Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfUnit.h
index 3a3f1660c937cabad259d06e43be5c3ea42862e0..937a607fa88ef31d667b03dde9daee8178307c1f 100644 (file)
@@ -18,7 +18,6 @@
 #include "DwarfDebug.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/Optional.h"
-#include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/IR/DIBuilder.h"
 #include "llvm/IR/DebugInfo.h"
@@ -71,7 +70,7 @@ protected:
   DICompileUnit CUNode;
 
   /// Unit debug information entry.
-  const OwningPtr<DIE> UnitDie;
+  const std::unique_ptr<DIE> UnitDie;
 
   /// Offset of the UnitDie from beginning of debug info section.
   unsigned DebugInfoOffset;