diff options
author | Manman Ren <manman.ren@gmail.com> | 2016-01-27 20:00:32 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2016-01-27 20:00:32 +0000 |
commit | efe1bacd92a315b74f526f21419559dac93738ab (patch) | |
tree | bacf012a55516f7855d71873fb7bc44072456c39 /clang/lib/Sema/SemaDeclObjC.cpp | |
parent | 95b533fe4b5a2603f11a6c967319d4ab0ef865ff (diff) | |
download | bcm5719-llvm-efe1bacd92a315b74f526f21419559dac93738ab.tar.gz bcm5719-llvm-efe1bacd92a315b74f526f21419559dac93738ab.zip |
Class Property: handle class properties.
At places where we handle instance properties, if necessary.
rdar://23891898
llvm-svn: 258979
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 e4e3aef2e6c..28b70b3c7c6 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, // ProcessPropertyDecl is responsible for diagnosing conflicts with any // user-defined setter/getter. It also synthesizes setter/getter methods // and adds them to the DeclContext and global method pools. - for (auto *I : CDecl->instance_properties()) + for (auto *I : CDecl->properties()) ProcessPropertyDecl(I); CDecl->setAtEndRange(AtEnd); } |