I'm not really sure what this is for: don't we want to have a flag for 'cannot have parens' rather than 'is a standardized C++ attribute'? Also, it seems easy to detect standard attributes: they're C++ attributes with no scope token. We don't need to generate a flag for that.<br>
<div><br></div><div>It looks like this causes a regression: we start rejecting [[deprecated("foo")]] with it, don't we?</div><br><div>On Wed Jan 29 2014 at 11:56:34 AM, Aaron Ballman <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patch provides a declarative way to specify a standards-based<br>
C++11-style attribute using the StdCXX spelling class. It then removes<br>
a small, hard-coded list of standard attributes from the parser and<br>
uses a generated list to accomplish the same thing.<br>
<br>
Since C++11 attributes are not in the std:: namespace, this also<br>
removes the std:: variant from standards-based attributes. However, if<br>
the std:: namespace were to become part of the standard, it can be<br>
handled when flattening out the attributes in the same way that we do<br>
for GCC spellings.<br>
<br>
~Aaron<br>
</blockquote>