[PATCH] Removing the notion of an attribute parameter

Aaron Ballman aaron at aaronballman.com
Fri Aug 30 15:57:45 PDT 2013


This patch consolidates the notion of a GNU attribute parameter with
the argument list.  This makes for considerably easier error reporting
in the long run since the attribute arguments specified in the td file
match the arguments passed in via the AttributeList.

It accomplishes this by using a PointerUnion of identifier information
and expressions.  While the patch is pretty large, the vast majority
of the changes come from using this discriminated union where we used
to look for a parameter or an expression specifically.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AttrRemoveParms.patch
Type: application/octet-stream
Size: 81167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130830/46830e61/attachment.obj>


More information about the cfe-commits mailing list