[PATCH] Improve attributes printing.

Richard Smith richard at metafoo.co.uk
Wed Feb 27 21:24:03 PST 2013


On Tue, Feb 26, 2013 at 9:35 PM, Michael Han <fragmentshaders at gmail.com>wrote:

>
>   Thanks Richard! You are right this is fragile and will break for cases
> like inheritable attributes, which I overlooked.
>
>   The primary goal of this patch is to fix C++11 attributes printing, so I
> am thinking for now we can just check if an attribute is a C++11 attribute
> and if it is then print it immediately after the declarator because we
> don't support any C++11 attributes appertain to types yet.  What do you
> think?


That sounds fine to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130227/e23271a1/attachment.html>


More information about the cfe-commits mailing list