Home
last modified time | relevance | path

Searched refs:PGOpt (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DCommandLine.cpp757 if (!PGOpt) in HandlePrefixedOrGroupedOption()
764 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption()
769 (PGOpt->getFormattingFlag() == cl::Prefix && MaybeValue[0] != '=')) { in HandlePrefixedOrGroupedOption()
771 return PGOpt; in HandlePrefixedOrGroupedOption()
776 return PGOpt; in HandlePrefixedOrGroupedOption()
780 assert(isGrouping(PGOpt) && "Broken getOptionPred!"); in HandlePrefixedOrGroupedOption()
783 if (PGOpt->getValueExpectedFlag() == cl::ValueRequired) { in HandlePrefixedOrGroupedOption()
784 ErrorParsing |= PGOpt->error("may not occur within a group!"); in HandlePrefixedOrGroupedOption()
791 ErrorParsing |= ProvideOption(PGOpt, Arg, StringRef(), 0, nullptr, Dummy); in HandlePrefixedOrGroupedOption()
795 PGOpt = getOptionPred(Arg, Length, isGrouping, OptionsMap); in HandlePrefixedOrGroupedOption()
[all …]