]> granicus.if.org Git - clang/commit
Fix Objective-C metadata for properties from class extensions after r251874
authorNico Weber <nicolasweber@gmx.de>
Thu, 3 Dec 2015 17:44:51 +0000 (17:44 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 3 Dec 2015 17:44:51 +0000 (17:44 +0000)
commit795ba448be9ca4f11b82fa00114d8871b5feaa8c
tree49cc12582f1b952c71d699c139ddb8ce9717f891
parent7c826426a60e148424e578e0d769ad74c580bee2
Fix Objective-C metadata for properties from class extensions after r251874

After, properties from class extensions no longer show up in
ObjCInterfaceDecl::properties().  Make ObjCCommonMac::EmitPropertyList()
explicitly look for properties in class extensions before looking at
direct properties.

Also add a test that passes both with clang before r251874 and after this
patch (but fails with r251874 and without this patch).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254622 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/property-list-in-extension.m [new file with mode: 0644]