Lines Matching refs:Subcommand
223 cl::OptionCategory &Category, cl::SubCommand &Subcommand, in CommandLineRefactoringOptionCreator() argument
225 : Category(Category), Subcommand(Subcommand), Options(Options) {} in CommandLineRefactoringOptionCreator()
242 cl::cat(Category), cl::sub(Subcommand)); in create()
248 cl::SubCommand &Subcommand; member in __anon62a38a960111::CommandLineRefactoringOptionCreator
373 auto Subcommand = getSelectedSubcommand(); in Init() local
374 if (!Subcommand) in Init()
375 return Subcommand.takeError(); in Init()
376 auto Rule = getMatchingRule(**Subcommand); in Init()
380 SelectedSubcommand = *Subcommand; in Init()
518 void logInvocation(RefactoringActionSubcommand &Subcommand, in logInvocation() argument
520 llvm::outs() << "invoking action '" << Subcommand.getName() << "':\n"; in logInvocation()
532 getMatchingRule(RefactoringActionSubcommand &Subcommand) { in getMatchingRule() argument
536 for (const auto &Rule : Subcommand.getActionRules()) { in getMatchingRule()
537 CommandLineRefactoringOptionVisitor Visitor(Subcommand.getOptions()); in getMatchingRule()
543 Subcommand.parseSelectionArgument(); in getMatchingRule()
544 if (Subcommand.getSelection()) { in getMatchingRule()
557 OS << "ERROR: '" << Subcommand.getName() in getMatchingRule()
568 Subcommand.getName() + "was found with given options.", in getMatchingRule()
590 for (const auto &Subcommand : SubCommands) in getSelectedSubcommand() local
591 OS.indent(2) << Subcommand->getName() << "\n"; in getSelectedSubcommand()
596 RefactoringActionSubcommand *Subcommand = &(**It); in getSelectedSubcommand() local
597 return Subcommand; in getSelectedSubcommand()