[PATCH] Automated handling of language options for attributes

Aaron Ballman aaron at aaronballman.com
Mon Dec 2 11:17:13 PST 2013


Several attributes test whether specific language options are enabled
before performing the required semantic handling. This patch automates
that task by pushing it into tablegen.

I've added a list of language options that can be optionally specified
for an attribute. If none of the given language options are enabled, a
diagnostic is issued. This allowed several attributes to use the
simple attribute handler.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LangOpts.patch
Type: application/octet-stream
Size: 19586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131202/179aee59/attachment.obj>


More information about the cfe-commits mailing list