[cfe-commits] r139602 - /cfe/trunk/include/clang/Driver/Options.td
Chad Rosier
mcrosier at apple.com
Tue Sep 13 09:46:01 PDT 2011
Author: mcrosier
Date: Tue Sep 13 11:46:01 2011
New Revision: 139602
URL: http://llvm.org/viewvc/llvm-project?rev=139602&view=rev
Log:
[driver] Add follow up comment for r139551 to ensure the unused option is not
removed in the future.
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=139602&r1=139601&r2=139602&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Tue Sep 13 11:46:01 2011
@@ -134,6 +134,8 @@
def _HASH_HASH_HASH : Flag<"-###">, Flags<[DriverOption]>,
HelpText<"Print the commands to run for this compilation">;
+// The '--' option is here for the sake of compatibility with gcc, but is
+// being ignored by the driver.
def _DASH_DASH : Flag<"--">, Flags<[DriverOption]>;
def A : JoinedOrSeparate<"-A">;
def B : JoinedOrSeparate<"-B">;
More information about the cfe-commits
mailing list