[PATCH] Support for __has_cpp_attribute (N4200)

Aaron Ballman aaron at aaronballman.com
Thu Nov 13 14:47:30 PST 2014


This patch should complete our support for the SD-6 standing document,
based off N4200
(http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4200.htm).
It implements support for __has_cpp_attribute, based off our existing
support for __has_attribute.

Note, C++11-style attributes will now be required (by tablegen) to
provide a non-default value for the new Version field, associated with
the attribute spelling. If we decide we want __has_attribute to report
version-specific information for all attributes, we can generalize to
cover that later.

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


More information about the cfe-commits mailing list