Lines Matching refs:Subcommand
224 cl::OptionCategory &Category, cl::SubCommand &Subcommand, in CommandLineRefactoringOptionCreator() argument
226 : Category(Category), Subcommand(Subcommand), Options(Options) {} in CommandLineRefactoringOptionCreator()
244 cl::cat(Category), cl::sub(Subcommand)); in create()
250 cl::SubCommand &Subcommand; member in __anonf090c3dd0111::CommandLineRefactoringOptionCreator
375 auto Subcommand = getSelectedSubcommand(); in Init() local
376 if (!Subcommand) in Init()
377 return Subcommand.takeError(); in Init()
378 auto Rule = getMatchingRule(**Subcommand); in Init()
382 SelectedSubcommand = *Subcommand; in Init()
520 void logInvocation(RefactoringActionSubcommand &Subcommand, in logInvocation() argument
522 llvm::outs() << "invoking action '" << Subcommand.getName() << "':\n"; in logInvocation()
534 getMatchingRule(RefactoringActionSubcommand &Subcommand) { in getMatchingRule() argument
538 for (const auto &Rule : Subcommand.getActionRules()) { in getMatchingRule()
539 CommandLineRefactoringOptionVisitor Visitor(Subcommand.getOptions()); in getMatchingRule()
545 Subcommand.parseSelectionArgument(); in getMatchingRule()
546 if (Subcommand.getSelection()) { in getMatchingRule()
559 OS << "ERROR: '" << Subcommand.getName() in getMatchingRule()
570 Subcommand.getName() + "was found with given options.", in getMatchingRule()
592 for (const auto &Subcommand : SubCommands) in getSelectedSubcommand() local
593 OS.indent(2) << Subcommand->getName() << "\n"; in getSelectedSubcommand()
598 RefactoringActionSubcommand *Subcommand = &(**It); in getSelectedSubcommand() local
599 return Subcommand; in getSelectedSubcommand()