[cfe-commits] [patch] Remove -fno-diagnostics-print-source-range-info from usermanual; clang doesn't recognize it

Nico Weber thakis at chromium.org
Tue Jan 8 17:13:21 PST 2013


On Tue, Jan 8, 2013 at 5:00 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Tue, Jan 8, 2013 at 4:57 PM, Nico Weber <thakis at chromium.org> wrote:
>> Hi,
>>
>> $ clang -c test.c -fno-diagnostics-print-source-range-info
>> clang: warning: argument unused during compilation:
>> '-fno-diagnostics-print-source-range-info'
>>
>> The for without 'no-' is accepted. This patch removes the [no-] bit
>> from UserManual.rst. Ok?
>
> Shouldn't we fix the option rather than the manual?

I don't have an opinion on this. The similar option
-fdiagnostics-parseable-fixits also doesn't have a no- form for what
it's worth.

>
> Otherwise, fine.
>
> -Eli



More information about the cfe-commits mailing list