[cfe-commits] r165534 - in /cfe/trunk: lib/Driver/Tools.cpp test/Driver/apple-kext-i386.cpp

Eli Friedman eli.friedman at gmail.com
Tue Oct 9 13:48:19 PDT 2012


On Tue, Oct 9, 2012 at 12:43 PM, Chad Rosier <mcrosier at apple.com> wrote:
> Author: mcrosier
> Date: Tue Oct  9 14:43:33 2012
> New Revision: 165534
>
> URL: http://llvm.org/viewvc/llvm-project?rev=165534&view=rev
> Log:
> [driver] Remove the -W[no-][int-conversion|constant-conversion|enum-conversion]
> options when clang invokes cc1plus for i386 kexts.
> rdar://12459188
>
> Modified:
>     cfe/trunk/lib/Driver/Tools.cpp
>     cfe/trunk/test/Driver/apple-kext-i386.cpp
>
> Modified: cfe/trunk/lib/Driver/Tools.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=165534&r1=165533&r2=165534&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Driver/Tools.cpp (original)
> +++ cfe/trunk/lib/Driver/Tools.cpp Tue Oct  9 14:43:33 2012
> @@ -3595,6 +3595,7 @@
>          .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 @@
>          .Case("incomplete-implementation", true)
>          .Case("int-conversion", true)
>          .Case("initializer-overrides", true)
> +        .Case("int-conversion", true)

Duplicate case?

-Eli



More information about the cfe-commits mailing list