diff options
author | Douglas Gregor <dgregor@apple.com> | 2015-11-03 17:02:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2015-11-03 17:02:34 +0000 |
commit | e17765eed0d9b06a624de2996e8bcfc68d4512ec (patch) | |
tree | 5e668ad04acf10eecba727cc5602d5465e77aa31 /clang/lib/Sema/SemaDeclObjC.cpp | |
parent | eca9e890b994e3742a95e4900f4373705b4f7080 (diff) | |
download | bcm5719-llvm-e17765eed0d9b06a624de2996e8bcfc68d4512ec.tar.gz bcm5719-llvm-e17765eed0d9b06a624de2996e8bcfc68d4512ec.zip |
Simplify Sema::ProcessPropertyDecl. NFC
Now that the properties created within Objective-C class extensions go
into the extension themselves, we don't need any of the extra
complexity here.
llvm-svn: 251949
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp index 2622e5ed831..527ffa0fece 100644 --- a/clang/lib/Sema/SemaDeclObjC.cpp +++ b/clang/lib/Sema/SemaDeclObjC.cpp @@ -3637,7 +3637,7 @@ Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd, ArrayRef<Decl *> allMethods, // user-defined setter/getter. It also synthesizes setter/getter methods // and adds them to the DeclContext and global method pools. for (auto *I : CDecl->properties()) - ProcessPropertyDecl(I, CDecl); + ProcessPropertyDecl(I); CDecl->setAtEndRange(AtEnd); } if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) { |