On 2016-06-22 05:25, David Malcolm wrote:
Clang has an option -fdiagnostics-parseable-fixits, which emits a
machine-readable version of the fixits, for use by IDEs. (The only
IDE I know of that supports this format is Xcode [1]; does anyone
know of other IDEs supporting this? I'd be very happy if someone
implemented Emacs support for it, or could point me at it).
This patch implements the option for gcc. It seems prudent to be
compatible with Clang here, so I've deliberately used the same option
name and attempted to emulate the output format,
Thanks a lot for this! I now use this in geordi (http://eelis.net/geordi).
Geordi already supported Clang's fix-its, and thanks to your taking care to use
the same format, enabling it for GCC was a matter of adding the flag.
Cheers!