forked from OSchip/llvm-project
parent
bae1c0b23b
commit
ee403fa613
|
|
@ -2451,7 +2451,7 @@ void darwin::CC1::RemoveCC1UnsupportedArgs(ArgStringList &CmdArgs) const {
|
||||||
const char *Option = *it;
|
const char *Option = *it;
|
||||||
|
|
||||||
// We only remove warning options.
|
// We only remove warning options.
|
||||||
if (!strncmp(Option, "-W", 3)) {
|
if (!strncmp(Option, "-W", 2)) {
|
||||||
++it;
|
++it;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue