]> granicus.if.org Git - clang/commit
Move Sema::PropertyIfSetterOrGetter to ObjCMethodDecl::findPropertyDecl.
authorJordan Rose <jordan_rose@apple.com>
Wed, 10 Oct 2012 16:42:54 +0000 (16:42 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 10 Oct 2012 16:42:54 +0000 (16:42 +0000)
commit04bec39d61f2b392d798882c9141fecf3ca653c5
tree3d43c9ab6af1121375c76f7495d7ec3eb43c9df8
parent9a1f7d8c33304f973a59c68d80c2cce280afb1d4
Move Sema::PropertyIfSetterOrGetter to ObjCMethodDecl::findPropertyDecl.

Then, switch users of PropertyIfSetterOrGetter and LookupPropertyDecl
(the latter by name) over to findPropertyDecl. This actually makes
-Wreceiver-is-weak a bit stronger than it was before.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165628 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclObjC.h
include/clang/Sema/Sema.h
lib/AST/DeclObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaObjCProperty.cpp
test/SemaObjC/property-deprecated-warning.m
test/SemaObjC/weak-receiver-warn.m