[LCG] Hoist the logic for forming a new SCC from the top of the DFSStack
[oota-llvm.git] / include / llvm / Analysis / CallGraph.h
index d46cbb60cd1cb28cbf0f3027848a9c749e639c78..9a6a4a76eb730adbc5f6bbc699672a0b5c7ff944 100644 (file)
@@ -53,7 +53,6 @@
 #define LLVM_ANALYSIS_CALLGRAPH_H
 
 #include "llvm/ADT/GraphTraits.h"
-#include "llvm/ADT/OwningPtr.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/IR/CallSite.h"
 #include "llvm/IR/Function.h"
@@ -314,7 +313,7 @@ private:
 /// call graph interface is entirelly a wrapper around a \c CallGraph object
 /// which is stored internally for each module.
 class CallGraphWrapperPass : public ModulePass {
-  OwningPtr<CallGraph> G;
+  std::unique_ptr<CallGraph> G;
 
 public:
   static char ID; // Class identification, replacement for typeinfo