Lines Matching defs:SC
181 for (auto *SC : RegisteredSubCommands) in forEachSubCommand() local
186 for (auto *SC : Opt.Subs) { in forEachSubCommand() local
193 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption()
205 Opt, [&](SubCommand &SC) { addLiteralOption(Opt, &SC, Name); }); in addLiteralOption()
208 void addOption(Option *O, SubCommand *SC) { in addOption()
249 forEachSubCommand(*O, [&](SubCommand &SC) { addOption(O, &SC); }); in addOption()
252 void removeOption(Option *O, SubCommand *SC) { in removeOption()
286 forEachSubCommand(*O, [&](SubCommand &SC) { removeOption(O, &SC); }); in removeOption()
311 void updateArgStr(Option *O, StringRef NewName, SubCommand *SC) { in updateArgStr()
323 [&](SubCommand &SC) { updateArgStr(O, NewName, &SC); }); in updateArgStr()
1460 for (auto *SC : RegisteredSubCommands) { in ResetAllOptionOccurrences() local