Home | History | Annotate | Download | only in Support

Lines Matching refs:Category

275                     [cat](const OptionCategory *Category) {
276 return cat->getName() == Category->getName();
359 // Initialise the general option category.
1870 assert(CategorizedOptions.count(Opt->Category) > 0 &&
1871 "Option has an unregistered category");
1872 CategorizedOptions[Opt->Category].push_back(Opt);
1877 Category = SortedCategories.begin(),
1879 Category != E; ++Category) {
1881 const auto &CategoryOptions = CategorizedOptions[*Category];
1886 // Print category information.
1888 outs() << (*Category)->getName() << ":\n";
1891 if ((*Category)->getDescription() != nullptr)
1892 outs() << (*Category)->getDescription() << "\n\n";
1896 // When using -help-hidden explicitly state if the category has no
1899 outs() << " This option category has no options.\n";
1902 // Loop over the options in the category and print.
1942 // Define a category for generic options that all tools should have.
1988 // Decide which printer to invoke. If more than one option category is
2125 void cl::HideUnrelatedOptions(cl::OptionCategory &Category, SubCommand &Sub) {
2127 if (I.second->Category != &Category &&
2128 I.second->Category != &GenericCategory)
2138 if (std::find(CategoriesBegin, CategoriesEnd, I.second->Category) ==
2140 I.second->Category != &GenericCategory)