[cfe-commits] [PATCH] Parsing __declspec properly for enumerations

Aaron Ballman aaron at aaronballman.com
Thu Feb 23 14:54:03 PST 2012


Ping?

On Mon, Feb 20, 2012 at 6:41 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> This is a patch to address Bug 8783 -- declspecs can be placed on enum
> declarations as well.  To clarify:
>
> __declspec(foo) enum E { x, y } e;  // Puts foo on e
> enum __declspec(foo) enum E { x, y } e;  // Puts foo on E
>
> This is important for supporting the deprecated declspec.  Class,
> struct and union already function properly.
>
> ~Aaron




More information about the cfe-commits mailing list