[driver] Ignore the '--' option, rather then fail. Do so to match gcc's

behavior.
rdar://10110352 and PR10908

llvm-svn: 139551
This commit is contained in:
Chad Rosier 2011-09-12 22:43:01 +00:00
parent ea8f5725c5
commit c0f3e383c9
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ 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">;
def _DASH_DASH : Flag<"--">, Flags<[DriverOption]>;
def A : JoinedOrSeparate<"-A">;
def B : JoinedOrSeparate<"-B">;
def CC : Flag<"-CC">;