No seriously, remove the unsupported warning options.

llvm-svn: 137918
This commit is contained in:
Chad Rosier 2011-08-18 02:08:52 +00:00
parent ab935f26e6
commit f44aa3fe82
1 changed files with 1 additions and 1 deletions

View File

@ -2451,7 +2451,7 @@ void darwin::CC1::RemoveCC1UnsupportedArgs(ArgStringList &CmdArgs) const {
const char *Option = *it;
// We only remove warning options.
if (!strncmp(Option, "-W", 2)) {
if (strncmp(Option, "-W", 2)) {
++it;
continue;
}