forked from OSchip/llvm-project
No seriously, remove the unsupported warning options.
llvm-svn: 137918
This commit is contained in:
parent
ab935f26e6
commit
f44aa3fe82
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue