diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-10-09 19:43:33 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-10-09 19:43:33 +0000 |
commit | d372a70c6845efcfc88edc37341f795fc70750c7 (patch) | |
tree | 442564fa261627dc4c38325bdaf06790b8a970e8 /lib/Driver/Tools.cpp | |
parent | 2c3d8fad4f760b076deaa9a24923a2f48f31c8b2 (diff) |
[driver] Remove the -W[no-][int-conversion|constant-conversion|enum-conversion]
options when clang invokes cc1plus for i386 kexts.
rdar://12459188
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 462354a8c2..468a362b3c 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -3595,6 +3595,7 @@ void darwin::CC1::RemoveCC1UnsupportedArgs(ArgStringList &CmdArgs) const { .Case("constant-conversion", true) .Case("conversion-null", true) .Case("CFString-literal", true) + .Case("constant-conversion", true) .Case("constant-logical-operand", true) .Case("custom-atomic-properties", true) .Case("default-arg-special-member", true) @@ -3618,6 +3619,7 @@ void darwin::CC1::RemoveCC1UnsupportedArgs(ArgStringList &CmdArgs) const { .Case("incomplete-implementation", true) .Case("int-conversion", true) .Case("initializer-overrides", true) + .Case("int-conversion", true) .Case("invalid-noreturn", true) .Case("invalid-token-paste", true) .Case("language-extension-token", true) |