[cfe-dev] [clang] declspec(property...) advice

John McCall rjmccall at apple.com
Wed Dec 8 15:14:54 PST 2010


On Dec 8, 2010, at 2:42 PM, jahanian wrote:
> On Dec 8, 2010, at 2:35 PM, John McCall wrote:
>> On Dec 8, 2010, at 2:34 PM, jahanian wrote:
>>>> technically have to support with ObjC++ properties but actually haven't gotten around to yet, like what happens when we're doing a compound assignment on an implicit property reference and the getter and setter have really different types.  Really I think this is an argument for improving the representation of all property expressions.
>>> If you are talking about the same property, they cannot have different types. 
>> 
>> They can if they're implicit properties.
> 
> That's why I never liked to call them properties :). I referred to them implicit call to setter/getters using property-dot syntax.
> Looks like we have removed that distinction.

Well, but you could still do compound assignments on them, so I'm not sure it helps us much in practice. :)

John.



More information about the cfe-dev mailing list