[PATCH] Switch type used by FormatAttr

Aaron Ballman aaron at aaronballman.com
Tue Sep 3 13:03:57 PDT 2013


The tablegen for the format attribute claims the first argument
expected is a string.  However, the attribute actually takes an
unresolved identifier instead of a string literal.  This patch
clarifies that by making the attribute take an IdentifierArgument, and
updates associated code.

Since this is the only case where the parser was doing something
special for StringArguments, I updated the tablegen emitter to remove
complexity.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FormatAttr.patch
Type: application/octet-stream
Size: 7294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130903/3e20c7b3/attachment.obj>


More information about the cfe-commits mailing list