r205226 - Introduced an attribute syntax-neutral method for parsing attribute arguments that is currently being used by GNU and C++-style attributes. This allows C++11 attributes with argument lists to be handled properly, fixing the "deprecated", "type_visibility", and capability-related attributes with arguments.
Aaron Ballman
aaron at aaronballman.com
Fri Apr 11 14:40:26 PDT 2014
On Fri, Apr 11, 2014 at 5:38 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> Thanks for doing this!
>
> Looks like this won't reject the ill-formed construct [[deprecated()]].
> (Both [[gnu::deprecated()]] and __attribute__((deprecated())) are OK, IIRC.)
Good point! I'll add that on my TODO list. :-)
Thanks!
~Aaron
More information about the cfe-commits
mailing list