summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2015-11-03 17:02:34 +0000
committerDouglas Gregor <dgregor@apple.com>2015-11-03 17:02:34 +0000
commite17765eed0d9b06a624de2996e8bcfc68d4512ec (patch)
tree5e668ad04acf10eecba727cc5602d5465e77aa31 /clang/lib/Sema/SemaDeclObjC.cpp
parenteca9e890b994e3742a95e4900f4373705b4f7080 (diff)
downloadbcm5719-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.cpp2
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)) {
OpenPOWER on IntegriCloud