Re: [committed] C: Fix missing spaces in 'struct' fix-it hints

2016-09-01 Thread Andreas Schwab
On Sep 01 2016, David Malcolm wrote: > diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c > index a6281fc..531d94e 100644 > --- a/gcc/c/c-parser.c > +++ b/gcc/c/c-parser.c > @@ -1685,7 +1685,7 @@ c_parser_declaration_or_fndef (c_parser *parser, bool > fndef_ok, >if (tag_exists_p (RECORD_TY

[committed] C: Fix missing spaces in 'struct' fix-it hints

2016-08-31 Thread David Malcolm
In r237714 I added fix-it hints to the C frontend for missing "struct" keywords e.g.: spellcheck-typenames.c:69:1: error: unknown type name ‘foo_t’; use ‘struct’ keyword to refer to the type foo_t *foo_ptr; ^ struct However when using the (not yet in trunk) option -fdiagnostics-generate-