aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-09-13 16:46:01 +0000
committerChad Rosier <mcrosier@apple.com>2011-09-13 16:46:01 +0000
commit8c7f4bca64d5128311ce50449ae9d2048c2ffea4 (patch)
tree9cc479f51163ee6477073d288f8bc388a8a1462b
parent768d6cae40ad4ff3aed5483269d068ff7a45e229 (diff)
[driver] Add follow up comment for r139551 to ensure the unused option is not
removed in the future. rdar://10110352 and PR10908 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139602 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Driver/Options.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td
index 5846c1b5f3..d1040adfc9 100644
--- a/include/clang/Driver/Options.td
+++ b/include/clang/Driver/Options.td
@@ -134,6 +134,8 @@ def ccc_ : Joined<"-ccc-">, Group<ccc_Group>, Flags<[Unsupported]>;
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">;