This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++] PATCH c++/17542


Matt Austern wrote:

> +   if (declspecs->attributes)
> +     {
> +       cp_warning_at ("attribute ignored in declaration of %q#T", t);
> +       cp_warning_at ("attribute for %q#T must follow the class key",
> t);
> +     }

I would think that 'class key' is a legal term which is not common in C++
development. Probably saying "enum/class/struct keyword" is a little easier to
follow.

Also, I reckon the second line should be an inform() but do we have
cp_inform_at?

Giovanni Bajo



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]