[cfe-commits] r139551 - /cfe/trunk/include/clang/Driver/Options.td

Bob Wilson bob.wilson at apple.com
Tue Sep 13 08:30:22 PDT 2011


Can you add a comment to explain that this is present but ignored for the sake of compatibility?

On Sep 12, 2011, at 3:43 PM, Chad Rosier wrote:

> Author: mcrosier
> Date: Mon Sep 12 17:43:01 2011
> New Revision: 139551
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=139551&view=rev
> Log:
> [driver] Ignore the '--' option, rather then fail. Do so to match gcc's 
> behavior.
> rdar://10110352 and PR10908
> 
> Modified:
>    cfe/trunk/include/clang/Driver/Options.td
> 
> Modified: cfe/trunk/include/clang/Driver/Options.td
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=139551&r1=139550&r2=139551&view=diff
> ==============================================================================
> --- cfe/trunk/include/clang/Driver/Options.td (original)
> +++ cfe/trunk/include/clang/Driver/Options.td Mon Sep 12 17:43:01 2011
> @@ -134,6 +134,7 @@
> 
> def _HASH_HASH_HASH : Flag<"-###">, Flags<[DriverOption]>,
>     HelpText<"Print the commands to run for this compilation">;
> +def _DASH_DASH : Flag<"--">, Flags<[DriverOption]>;
> def A : JoinedOrSeparate<"-A">;
> def B : JoinedOrSeparate<"-B">;
> def CC : Flag<"-CC">;
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list