llvm-mirror/unittests/Option/Opts.td
Michael J. Spencer c0bd8f95ce Copy clang/Driver/<Option parsing stuff> to llvm.
llvm-svn: 169344
2012-12-05 00:29:32 +00:00

14 lines
605 B
TableGen

include "llvm/Option/OptParser.td"
def A : Flag<["-"], "A">, HelpText<"The A option">;
def B : Joined<["-"], "B">, HelpText<"The B option">, MetaVarName<"B">;
def C : Separate<["-"], "C">, HelpText<"The C option">, MetaVarName<"C">;
def D : CommaJoined<["-"], "D">, HelpText<"The D option">, MetaVarName<"D">;
def E : MultiArg<["-"], "E", 2>;
def F : JoinedOrSeparate<["-"], "F">, HelpText<"The F option">, MetaVarName<"F">;
def G : JoinedAndSeparate<["-"], "G">, HelpText<"The G option">, MetaVarName<"G">;
def Ceq : Joined<["-", "--"], "C=">, Alias<C>;
def H : Flag<["-"], "H">, Flags<[HelpHidden]>;