[cfe-dev] [PATCH] Fixit for incorrect includes

Aaron Ballman aaron at aaronballman.com
Tue Jul 17 12:46:46 PDT 2012


On Tue, Jul 17, 2012 at 2:37 PM, Sebastian Redl
<sebastian.redl at getdesigned.at> wrote:
>
> On 17.07.2012, at 20:52, David Blaikie wrote:
>
> On Tue, Jul 17, 2012 at 11:46 AM, Aaron Ballman <aaron at aaronballman.com>
> wrote:
>
> Do we want to have a fatal and non-fatal
>
> variant of the error (fatal for when no fixit is available)?
>
>
> Yes, I believe that'd be necessary. They can have different diagnostic
> names but the same text and just one of them is non-fatal.
>
>
> The non-fixit and fixit diagnostics would probably have different text
> anyway. "Header not found" and "Header not found as written, but found if
> looked up as if it was written with quotes" are pretty different.

Would it be fine to use "file not found as written"?  I ask because I
can see a second fixit coming pertaining to spelling or case
sensitivity.

~Aaron



More information about the cfe-dev mailing list