diff options
| author | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-07 20:03:18 +0000 |
|---|---|---|
| committer | Ahmed Charles <ahmedcharles@gmail.com> | 2014-03-07 20:03:18 +0000 |
| commit | b89843299a118d9f97774f35e59f9b541ef5e284 (patch) | |
| tree | ee6366d2f652d2475d52f6ea9b4fbbc64dc2647e /clang/lib/Sema/SemaObjCProperty.cpp | |
| parent | 629afaefe0cd1a583ccee54918b7b13f48bfe273 (diff) | |
| download | bcm5719-llvm-b89843299a118d9f97774f35e59f9b541ef5e284.tar.gz bcm5719-llvm-b89843299a118d9f97774f35e59f9b541ef5e284.zip | |
Replace OwningPtr with std::unique_ptr.
This compiles cleanly with lldb/lld/clang-tools-extra/llvm.
llvm-svn: 203279
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaObjCProperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index c96fcbed537..78db05302ec 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -1709,7 +1709,7 @@ void Sema::DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl, // require an explicit implementation, via attribute // 'objc_protocol_requires_explicit_implementation'. if (IDecl) { - OwningPtr<ObjCContainerDecl::PropertyMap> LazyMap; + std::unique_ptr<ObjCContainerDecl::PropertyMap> LazyMap; for (ObjCInterfaceDecl::all_protocol_iterator PI = IDecl->all_referenced_protocol_begin(), |

