]> granicus.if.org Git - clang/commit
Implement new default property synthesis rules. Essentially, no longer
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 14 May 2010 18:35:57 +0000 (18:35 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 14 May 2010 18:35:57 +0000 (18:35 +0000)
commit509d477ae5a24282719320fe92038ccf57358840
tree710ba353134d24848bb91412eace5d372cd68b82
parenta238f878f06cd8683c544a12cd8e5eea8f7ece19
Implement new default property synthesis rules. Essentially, no longer
user directive is needed to force a property implementation.
It is decided based on those propeties which are declared in
the class (or in its protocols) but not those which must be
default implemented by one of its super classes. Implements radar 7923851.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103787 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaObjCProperty.cpp
test/CodeGenObjC/default-property-synthesis.m [new file with mode: 0644]