reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
243 extern ManagedStatic<SubCommand> TopLevelSubCommand;
1860 StringMap<Option *> &getRegisteredOptions(SubCommand &Sub = *TopLevelSubCommand); 1980 SubCommand &Sub = *TopLevelSubCommand); 1990 SubCommand &Sub = *TopLevelSubCommand);lib/Support/CommandLine.cpp
154 registerSubCommand(&*TopLevelSubCommand); 186 addLiteralOption(Opt, &*TopLevelSubCommand, Name); 247 addOption(O, &*TopLevelSubCommand); 289 removeOption(O, &*TopLevelSubCommand); 328 updateArgStr(O, NewName, &*TopLevelSubCommand); 396 TopLevelSubCommand->reset(); 398 registerSubCommand(&*TopLevelSubCommand); 545 return &*TopLevelSubCommand; 555 return &*TopLevelSubCommand; 1289 SubCommand *ChosenSubCommand = &*TopLevelSubCommand; 1294 if (ChosenSubCommand != &*TopLevelSubCommand) 2105 if (Sub == &*TopLevelSubCommand) { 2129 if (Sub == &*TopLevelSubCommand && !Subs.empty()) {tools/llvm-xray/llvm-xray.cpp
34 if (SC == &*cl::TopLevelSubCommand) {
unittests/Support/CommandLineTest.cpp90 cl::getRegisteredOptions(*cl::TopLevelSubCommand); 393 cl::getRegisteredOptions(*cl::TopLevelSubCommand); 418 cl::getRegisteredOptions(*cl::TopLevelSubCommand); 529 StackOption<bool> TopLevelOpt("top-level", cl::sub(*cl::TopLevelSubCommand), 578 "top-level-remove", cl::sub(*cl::TopLevelSubCommand), cl::init(false)); 580 "top-level-keep", cl::sub(*cl::TopLevelSubCommand), cl::init(false)); 982 for (auto &OM : cl::getRegisteredOptions(*cl::TopLevelSubCommand)) {