[cfe-commits] r139551 - /cfe/trunk/include/clang/Driver/Options.td
Chad Rosier
mcrosier at apple.com
Mon Sep 12 15:43:01 PDT 2011
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">;
More information about the cfe-commits
mailing list