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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to