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

John McCall rjmccall at apple.com
Wed Dec 8 14:35:41 PST 2010


On Dec 8, 2010, at 2:34 PM, jahanian wrote:
> On Dec 8, 2010, at 2:16 PM, John McCall wrote:
>> On Dec 8, 2010, at 1:47 PM, Douglas Gregor wrote:
>>> On Dec 8, 2010, at 11:53 AM, Eric Niebler <eric at boostpro.com> wrote:
>> 
>> I'm a little worried about adopting our current representation for a C++-oriented feature.  Presumably we'd need to allow filling in default arguments, etc., plus a wide range of stuff that we
> If you are talking about Darwin ObjC property (with no feature extension), there is no allowance for default arguments.

Sorry, I meant the MS extension;  since the property expands to an unresolved method call, we'd have to be able to fill in default arguments.

>> 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.

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20101208/bdc4af43/attachment.html>


More information about the cfe-dev mailing list