On Sun, Oct 15, 2017 at 12:52 PM, Saleem Abdulrasool
<compn...@compnerd.org> wrote:
>
>
> On Sun, Oct 15, 2017 at 8:01 AM, Aaron Ballman via cfe-commits
> <cfe-commits@lists.llvm.org> wrote:
>>
>> Author: aaronballman
>> Date: Sun Oct 15 08:01:42 2017
>> New Revision: 315856
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=315856&view=rev
>> Log:
>> Add -f[no-]double-square-bracket-attributes as new driver options to
>> control use of [[]] attributes in all language modes. This is the initial
>> implementation of WG14 N2165, which is a proposal to add [[]] attributes to
>> C2x, but also allows you to enable these attributes in C++98, or disable
>> them in C++11 or later.
>
>
> Since this is a new option and one that GCC doesn't have ... it seems pretty
> cumbersome to write.  Would you be open to renaming this?  Perhaps something
> like `-fgeneralized-attributes` which IIRC was the name for the C++11
> specification.

I have no problems renaming it, but I'm not keen on "generalized". The
name used in the WG21 proposal papers was "general attributes" (sort
of, the term was used once in the paper, and not in the title), but I
don't think I've seen any community consensus on calling them that.
While the current name is a mouthful, it's at least descriptive as to
which of the four attribute syntaxes we're talking about.

~Aaron
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to