forked from OSchip/llvm-project
[Driver] Remove Joined -X
The untested option triggers an IgnoredGCCCompat warning while GCC reports an error. We support a few -X{assembler,linker,...}. Having the Joined -X may make typos unnoticed.
This commit is contained in:
parent
e0d3c10252
commit
98615fd376
|
@ -843,7 +843,6 @@ def Xoffload_linker : JoinedAndSeparate<["-"], "Xoffload-linker">,
|
|||
def Xpreprocessor : Separate<["-"], "Xpreprocessor">, Group<Preprocessor_Group>,
|
||||
HelpText<"Pass <arg> to the preprocessor">, MetaVarName<"<arg>">;
|
||||
def X_Flag : Flag<["-"], "X">, Group<Link_Group>;
|
||||
def X_Joined : Joined<["-"], "X">, IgnoredGCCCompat;
|
||||
def Z_Flag : Flag<["-"], "Z">, Group<Link_Group>;
|
||||
// FIXME: All we do with this is reject it. Remove.
|
||||
def Z_Joined : Joined<["-"], "Z">;
|
||||
|
|
Loading…
Reference in New Issue