[cfe-commits] r137918 - /cfe/trunk/lib/Driver/Tools.cpp
Chad Rosier
mcrosier at apple.com
Wed Aug 17 19:08:52 PDT 2011
Author: mcrosier
Date: Wed Aug 17 21:08:52 2011
New Revision: 137918
URL: http://llvm.org/viewvc/llvm-project?rev=137918&view=rev
Log:
No seriously, remove the unsupported warning options.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=137918&r1=137917&r2=137918&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Wed Aug 17 21:08:52 2011
@@ -2451,7 +2451,7 @@
const char *Option = *it;
// We only remove warning options.
- if (!strncmp(Option, "-W", 2)) {
+ if (strncmp(Option, "-W", 2)) {
++it;
continue;
}
More information about the cfe-commits
mailing list