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

jahanian fjahanian at apple.com
Wed Dec 8 14:34:02 PST 2010


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.

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

- fariborz


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


More information about the cfe-dev mailing list