Lines Matching refs:Opt

86 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {}  in OptSpecifier()  argument
143 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption()
144 unsigned id = Opt.getID(); in getOption()
367 Option Opt(Start, this); in parseOneArgGrouped() local
369 Opt.accept(Args, StringRef(Args.getArgString(Index), ArgSize), in parseOneArgGrouped()
376 if (ArgSize == 2 && Opt.getKind() == Option::FlagClass) in parseOneArgGrouped()
384 Option Opt(Fallback, this); in parseOneArgGrouped() local
390 if (std::unique_ptr<Arg> A = Opt.accept( in parseOneArgGrouped()
410 return internalParseOneArg(Args, Index, [VisibilityMask](const Option &Opt) { in ParseOneArg() argument
411 return !Opt.hasVisibilityFlag(VisibilityMask); in ParseOneArg()
419 Args, Index, [FlagsToInclude, FlagsToExclude](const Option &Opt) { in ParseOneArg() argument
420 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg()
422 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg()
464 Option Opt(Start, this); in internalParseOneArg() local
466 if (ExcludeOption(Opt)) in internalParseOneArg()
471 Opt.accept(Args, StringRef(Args.getArgString(Index), ArgSize), in internalParseOneArg()
496 [VisibilityMask](const Option &Opt) { in ParseArgs() argument
497 return !Opt.hasVisibilityFlag(VisibilityMask); in ParseArgs()
508 [FlagsToInclude, FlagsToExclude](const Option &Opt) { in ParseArgs() argument
509 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseArgs()
511 if (Opt.hasFlag(FlagsToExclude)) in ParseArgs()
657 for (const OptionInfo &Opt : OptionHelp) { in PrintHelpOptionList() local
659 unsigned Length = Opt.Name.size(); in PrintHelpOptionList()
665 for (const OptionInfo &Opt : OptionHelp) { in PrintHelpOptionList() local
666 const std::string &Option = Opt.Name; in PrintHelpOptionList()
679 Opt.HelpText.split(Lines, '\n'); in PrintHelpOptionList()