On 04/28/2016 04:28 PM, David Malcolm wrote:
whereas clang reportedly emits:
test.c:2:12: error: expected ';' after struct
struct a {}
^
;
(note the offset of the location, and the fix-it hint)
The following patch gives us the latter, more readable output.
Huh. Only the non-C++ parts remain to be reviewed, and I have no
technical objections, but do people really want this? To me that looks
like unnecessary visual clutter that eats up vertical space for no
reason. I know what a semicolon looks like without the compiler telling
me twice.
Bernd