[PATCH] Declaring standard C++ attributes
Aaron Ballman
aaron at aaronballman.com
Wed Jan 29 11:56:30 PST 2014
This patch provides a declarative way to specify a standards-based
C++11-style attribute using the StdCXX spelling class. It then removes
a small, hard-coded list of standard attributes from the parser and
uses a generated list to accomplish the same thing.
Since C++11 attributes are not in the std:: namespace, this also
removes the std:: variant from standards-based attributes. However, if
the std:: namespace were to become part of the standard, it can be
handled when flattening out the attributes in the same way that we do
for GCC spellings.
~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StdCxx.patch
Type: application/octet-stream
Size: 11039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140129/db72d710/attachment.obj>
More information about the cfe-commits
mailing list