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

Francois Pichet pichet2000 at gmail.com
Thu Dec 13 18:12:52 PST 2012


On Mon, Dec 10, 2012 at 10:52 PM, endlessroad1991 at gmail.com <
endlessroad1991 at gmail.com> wrote:

> Hi all, I've rewritten the __declspec(property) implementation,using
> PseudoObject.
>
> If you're comfortable with this patch, I'll work on tests, code-style, and
> post it to cfe-commits.
>
>
>
>
One comment: A field part of a __declspec(property) can be incomplete.
For example:

class A {
    A get_A() const;
    __declspec(property(get=get_A)) A default_A;
};

Your patch will emit an error for that case, it must be accepted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121213/325c1a89/attachment.html>


More information about the cfe-dev mailing list