include "llvm/Option/OptParser.td" def OptFlag1 : OptionFlag; def OptFlag2 : OptionFlag; def OptFlag3 : OptionFlag; def A : Flag<["-"], "A">, HelpText<"The A option">, Flags<[OptFlag1]>; def B : Joined<["-"], "B">, HelpText<"The B option">, MetaVarName<"B">, Flags<[OptFlag2]>; def C : Separate<["-"], "C">, HelpText<"The C option">, MetaVarName<"C">, Flags<[OptFlag1]>; def SLASH_C : Separate<["/", "-"], "C">, HelpText<"The C option">, MetaVarName<"C">, Flags<[OptFlag3]>; def D : CommaJoined<["-"], "D">, HelpText<"The D option">, MetaVarName<"D">; def E : MultiArg<["-"], "E", 2>, Flags<[OptFlag1, OptFlag2]>; 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, Flags<[OptFlag1]>; def H : Flag<["-"], "H">, Flags<[HelpHidden]>; def my_group : OptionGroup<"my group">; def I : Flag<["-"], "I">, Alias, Group; def J : Flag<["-"], "J">, Alias, AliasArgs<["foo"]>; def Joo : Flag<["-"], "Joo">, Alias, AliasArgs<["bar"]>; def K : Flag<["-"], "K">, Alias; def Slurp : Option<["-"], "slurp", KIND_REMAINING_ARGS>; def SlurpJoined : Option<["-"], "slurpjoined", KIND_REMAINING_ARGS_JOINED>; def Blorp : Flag<["-", "--"], "blorp">, HelpText<"The blorp option">, Flags<[OptFlag1]>; def Cramb : Joined<["/"], "cramb:">, HelpText<"The cramb option">, MetaVarName<"CRAMB">, Flags<[OptFlag1]>; def Doopf1 : Flag<["-"], "doopf1">, HelpText<"The doopf1 option">, Flags<[OptFlag1]>; def Doopf2 : Flag<["-"], "doopf2">, HelpText<"The doopf2 option">, Flags<[OptFlag2]>; def Ermgh : Joined<["--"], "ermgh">, HelpText<"The ermgh option">, MetaVarName<"ERMGH">, Flags<[OptFlag1]>; def Fjormp : Flag<["--"], "fjormp">, HelpText<"The fjormp option">, Flags<[OptFlag1]>; def DashDash : Option<["--"], "", KIND_REMAINING_ARGS>;