[cfe-commits] r156937 - in /cfe/trunk: include/clang/Basic/DiagnosticFrontendKinds.td lib/Frontend/Warnings.cpp test/Driver/warning-options.cpp
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
>> 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
> 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.
> - Doug
More information about the cfe-commits