commit | ff1affef282d7146e14c8aa894eb5466a659398c | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Wed May 16 19:28:02 2012 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Wed May 16 19:28:02 2012 +0000 |
tree | f069b9a4d02406b51d1ecffa5df86ae75c9f4f70 | |
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