Ping. On Mon, Feb 11, 2013 at 2:24 PM, Michael Han <[email protected]>wrote:
> Hi rsmith, > > This patch improves attribute printing by taking the source location of > attributes into account when print them out. Previously, we hard code the > print out locations for attributes and this has some issues especially for > C++11 attributes for example: > void foo [[noreturn]] (); would be printed out as > void foo () [[noreturn]]; which has a different semantic with source. > This patch uses the source locations of the attributes and VarDecl / > FunctionDecl to print out attributes at expected locations as described in > source files. It also fixes several FIXMEs in existing tests. > > > > http://llvm-reviews.chandlerc.com/D395 > > Files: > lib/AST/DeclPrinter.cpp > test/SemaCXX/cxx11-attr-print.cpp > test/SemaCXX/attr-print.cpp > test/Sema/attr-print.c >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
