From: Chad Rosier Date: Mon, 12 Sep 2011 22:43:01 +0000 (+0000) Subject: [driver] Ignore the '--' option, rather then fail. Do so to match gcc's X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc3e7255f1a35ca5cf352a40a5952db0e65c7900;p=clang [driver] Ignore the '--' option, rather then fail. Do so to match gcc's behavior. rdar://10110352 and PR10908 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139551 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 2d5e1bc55d..5846c1b5f3 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -134,6 +134,7 @@ def ccc_ : Joined<"-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">;