On 04/25/2017 03:39 AM, Volker Reichelt wrote:
Hi,
the following patch adds fix-it information for a pedwarn in the C++
parser about the invalid use of class/struct after enum.
2017-04-25 Volker Reichelt
* parser.c (cp_parser_elaborated_type_specifier): Add fix-it to
diag
Hi,
the following patch adds fix-it information for a pedwarn in the C++
parser about the invalid use of class/struct after enum.
I factored out the call to cp_lexer_peek_token, because it was called
already 3 times (twice from within cp_lexer_next_token_is_keyword)
and I didn't want to add a 4th