Lines Matching refs:PGOpt
761 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption() local
762 if (!PGOpt) in HandlePrefixedOrGroupedOption()
769 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption()
773 if (MaybeValue.empty() || PGOpt->getFormattingFlag() == cl::AlwaysPrefix || in HandlePrefixedOrGroupedOption()
774 (PGOpt->getFormattingFlag() == cl::Prefix && MaybeValue[0] != '=')) { in HandlePrefixedOrGroupedOption()
776 return PGOpt; in HandlePrefixedOrGroupedOption()
781 return PGOpt; in HandlePrefixedOrGroupedOption()
785 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption()
788 if (PGOpt->getValueExpectedFlag() == cl::ValueRequired) { in HandlePrefixedOrGroupedOption()
789 ErrorParsing |= PGOpt->error("may not occur within a group!"); in HandlePrefixedOrGroupedOption()
796 ErrorParsing |= ProvideOption(PGOpt, Arg, StringRef(), 0, nullptr, Dummy); in HandlePrefixedOrGroupedOption()
800 PGOpt = getOptionPred(Arg, Length, isGrouping, OptionsMap); in HandlePrefixedOrGroupedOption()
801 } while (PGOpt); in HandlePrefixedOrGroupedOption()