[cfe-commits] r156937 - in /cfe/trunk: include/clang/Basic/DiagnosticFrontendKinds.td lib/Frontend/Warnings.cpp test/Driver/warning-options.cpp
Chad Rosier
mcrosier at apple.com
Wed May 16 12:59:37 PDT 2012
On May 16, 2012, at 12:55 PM, Douglas Gregor wrote:
>
> On May 16, 2012, at 12:28 PM, Chad Rosier <mcrosier at apple.com> wrote:
>
>> Author: mcrosier
>> Date: Wed May 16 14:28:02 2012
>> New Revision: 156937
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=156937&view=rev
>> Log:
>> Warn about -Wno-foo where foo is an unknown warning option. This is helpful
>> for subtle misspellings such as -Wno-unused-command-line-arguments instead of
>> -Wno-unused-command-line-argument.
>
> Maybe we should do typo correction here?
We do in fact do this, but the typo correction is only emitted by the diagnostics engine if it is a warning.
Chad
>
> - Doug
>
More information about the cfe-commits
mailing list