[PATCH] D29967: Get class property setter selector from property decl if exists

2017-02-14 Thread David Herzka via Phabricator via cfe-commits
herzka planned changes to this revision. herzka added a comment. This issue applies to getters too. I'll make this fix broader. I think the real fix for both is to construct the ObjCPropertyRefExpr using the ObjCPropertyDecl so that it's considered an explicit property. Currently, it still gets

[PATCH] D29967: Get class property setter selector from property decl if exists

2017-02-14 Thread David Herzka via Phabricator via cfe-commits
herzka created this revision. Before this fix, trying to set a class property using dot syntax would always use the constructed name (setX:), which might not match the real selector if the setter is specified via the `setter` property attribute. Now, the setter selector in the declaration has p