[PATCH] Improve attributes printing.

Michael Han fragmentshaders at gmail.com
Tue Feb 26 21:35:55 PST 2013


  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?

http://llvm-reviews.chandlerc.com/D395



More information about the cfe-commits mailing list