Lines Matching refs:Option

72   assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) &&  in operator <()
74 return B.Kind == Option::JoinedClass; in operator <()
85 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier()
96 if (Kind == Option::InputClass) { in OptTable()
99 } else if (Kind == Option::UnknownClass) { in OptTable()
102 } else if (Kind != Option::GroupClass) { in OptTable()
113 Option::OptionClass Kind = (Option::OptionClass) getInfo(i + 1).Kind; in OptTable()
114 assert((Kind != Option::InputClass && Kind != Option::UnknownClass && in OptTable()
115 Kind != Option::GroupClass) && in OptTable()
154 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption()
157 return Option(nullptr, nullptr); in getOption()
159 return Option(&getInfo(id), this); in getOption()
224 Option Opt(Start, this); in ParseOneArg()
292 const Option O = Opts.getOption(Id); in getOptionHelpName()
297 case Option::GroupClass: case Option::InputClass: case Option::UnknownClass: in getOptionHelpName()
300 case Option::MultiArgClass: in getOptionHelpName()
314 case Option::FlagClass: in getOptionHelpName()
317 case Option::SeparateClass: case Option::JoinedOrSeparateClass: in getOptionHelpName()
318 case Option::RemainingArgsClass: in getOptionHelpName()
321 case Option::JoinedClass: case Option::CommaJoinedClass: in getOptionHelpName()
322 case Option::JoinedAndSeparateClass: in getOptionHelpName()
353 const std::string &Option = OptionHelp[i].first; in PrintHelpOptionList() local
354 int Pad = OptionFieldWidth - int(Option.size()); in PrintHelpOptionList()
355 OS.indent(InitialPad) << Option; in PrintHelpOptionList()
409 if (getOptionKind(Id) == Option::GroupClass) in PrintHelp()