diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-05-16 19:28:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-05-16 19:28:02 +0000 |
commit | ff1affef282d7146e14c8aa894eb5466a659398c (patch) | |
tree | f069b9a4d02406b51d1ecffa5df86ae75c9f4f70 /lib/Driver/Tools.cpp | |
parent | 87014f33f123461a012995b2f7eb5e6ecf6dc461 (diff) |
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.
Also fix the diagnostic messages to properly handle -Wno- options. Previously,
the positive version was always emitted (i.e., -Wfoo was emitted for -Wno-foo).
rdar://11461500
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions