LGTM, but can you add a test illustrating that the 'deprecated' attribute 
actually sticks to the enumeration type?

        - Doug

On Feb 20, 2012, at 4:41 PM, Aaron Ballman 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
> <DeclspecEnum.patch>_______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to