From: Ted Kremenek Date: Wed, 27 Aug 2014 15:30:35 +0000 (+0000) Subject: Use unique_ptr instead of OwningPtr. I'm not certain how this compiled. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a41da69abc652edce7125148340190d9c44190c;p=clang Use unique_ptr instead of OwningPtr. I'm not certain how this compiled. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216552 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/AnalysisContext.h b/include/clang/Analysis/AnalysisContext.h index f0f4fda99e..0ebdf15f2c 100644 --- a/include/clang/Analysis/AnalysisContext.h +++ b/include/clang/Analysis/AnalysisContext.h @@ -20,7 +20,6 @@ #include "clang/Analysis/CodeInjector.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/FoldingSet.h" -#include "llvm/ADT/OwningPtr.h" #include "llvm/Support/Allocator.h" #include @@ -411,7 +410,7 @@ class AnalysisDeclContextManager { /// Pointer to an interface that can provide function bodies for /// declarations from external source. - llvm::OwningPtr Injector; + std::unique_ptr Injector; /// Flag to indicate whether or not bodies should be synthesized /// for well-known functions.