Home | History | Annotate | Download | only in Support

Lines Matching refs:Category

199                          [cat](const OptionCategory *Category) {
200 return cat->getName() == Category->getName();
236 // Initialise the general option category.
1584 assert(CategorizedOptions.count(Opt->Category) > 0 &&
1585 "Option has an unregistered category");
1586 CategorizedOptions[Opt->Category].push_back(Opt);
1591 Category = SortedCategories.begin(),
1593 Category != E; ++Category) {
1595 bool IsEmptyCategory = CategorizedOptions[*Category].size() == 0;
1599 // Print category information.
1601 outs() << (*Category)->getName() << ":\n";
1604 if ((*Category)->getDescription() != nullptr)
1605 outs() << (*Category)->getDescription() << "\n\n";
1609 // When using -help-hidden explicitly state if the category has no
1612 outs() << " This option category has no options.\n";
1615 // Loop over the options in the category and print.
1617 Opt = CategorizedOptions[*Category].begin(),
1618 E = CategorizedOptions[*Category].end();
1658 // Define a category for generic options that all tools should have.
1702 // Decide which printer to invoke. If more than one option category is
1835 void cl::HideUnrelatedOptions(cl::OptionCategory &Category) {
1837 if (I.second->Category != &Category &&
1838 I.second->Category != &GenericCategory)
1847 if (std::find(CategoriesBegin, CategoriesEnd, I.second->Category) ==
1849 I.second->Category != &GenericCategory)