[cfe-dev] [RFC] Preliminary patch to support MSVC __declspec(property)

John McCall rjmccall at apple.com
Mon Dec 17 10:45:18 PST 2012


On Dec 17, 2012, at 7:07 AM, endlessroad1991 at gmail.com wrote:
> Or, we can only implement a WELL-DEFINED subset of property: no [] support.
>  - I looked at ATL headers, those properties are all defined without [].
>  - My work is financially supported by GEMS8(http://wwwm.gems8.com), which only use property without [].
>  - Any property usage involving [] seems totally "undefined". I guess there are only god-know-what rules defined by VC developers, and they'are not intended for real-world use.
> Is this suggestion ok?

I would be happier if you tried to implement the whole feature now.
There are definitely real-world clients using subscripted properties,
and I think that supporting them shouldn't add *that* much complexity
to your implementation.

That said, I ultimately can't tell you how best to spend your time, and it's
better to have a good implementation of half the feature than no
implementation at all.

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


More information about the cfe-dev mailing list