r216552 - Use unique_ptr instead of OwningPtr. I'm not certain how this compiled.
Ted Kremenek
kremenek at apple.com
Wed Aug 27 08:30:35 PDT 2014
Author: kremenek
Date: Wed Aug 27 10:30:35 2014
New Revision: 216552
URL: http://llvm.org/viewvc/llvm-project?rev=216552&view=rev
Log:
Use unique_ptr instead of OwningPtr. I'm not certain how this compiled.
Modified:
cfe/trunk/include/clang/Analysis/AnalysisContext.h
Modified: cfe/trunk/include/clang/Analysis/AnalysisContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/AnalysisContext.h?rev=216552&r1=216551&r2=216552&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/AnalysisContext.h (original)
+++ cfe/trunk/include/clang/Analysis/AnalysisContext.h Wed Aug 27 10:30:35 2014
@@ -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 <memory>
@@ -411,7 +410,7 @@ class AnalysisDeclContextManager {
/// Pointer to an interface that can provide function bodies for
/// declarations from external source.
- llvm::OwningPtr<CodeInjector> Injector;
+ std::unique_ptr<CodeInjector> Injector;
/// Flag to indicate whether or not bodies should be synthesized
/// for well-known functions.
More information about the cfe-commits
mailing list