Re: [PATCH] Implement -fdiagnostics-parseable-fixits

2016-08-18 Thread Eelis
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

Re: [PATCH] Implement -fdiagnostics-parseable-fixits

2016-06-24 Thread Martin Liška
On 06/22/2016 05:25 AM, 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 ve

Re: [PATCH] Implement -fdiagnostics-parseable-fixits

2016-06-22 Thread Mike Stump
On Jun 21, 2016, at 8:25 PM, David Malcolm wrote: > I implemented tests using both -fself-test and DejaGnu. > For the DejaGnu test coverage, I attempted to implement detection of the > output strings via existing directives, but after several hours of > failing, I instead implemented a new "dg-reg

[PATCH] Implement -fdiagnostics-parseable-fixits

2016-06-21 Thread David Malcolm
Both GCC and Clang can emit "fix-it" hints for a diagnostic, giving a suggestion about how to fix the issue. 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]; d