reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
195 if (O->hasArgStr()) { 197 if (O->isDefaultOption() && 198 SC->OptionsMap.find(O->ArgStr) != SC->OptionsMap.end()) 202 if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { 202 if (!SC->OptionsMap.insert(std::make_pair(O->ArgStr, O)).second) { 203 errs() << ProgramName << ": CommandLine Error: Option '" << O->ArgStr 210 if (O->getFormattingFlag() == cl::Positional) 211 SC->PositionalOpts.push_back(O); 212 else if (O->getMiscFlags() & cl::Sink) // Remember sink options 213 SC->SinkOpts.push_back(O); 214 else if (O->getNumOccurrencesFlag() == cl::ConsumeAfter) { 216 O->error("Cannot specify more than one option with cl::ConsumeAfter!"); 219 SC->ConsumeAfterOpt = O; 235 addOption(O, Sub);