Lines Matching refs:Group
628 StringRef DiagnosticIDs::getWarningOptionDocumentation(diag::Group Group) { in getWarningOptionDocumentation() argument
629 return OptionTable[static_cast<int>(Group)].Documentation; in getWarningOptionDocumentation()
632 StringRef DiagnosticIDs::getWarningOptionForGroup(diag::Group Group) { in getWarningOptionForGroup() argument
633 return OptionTable[static_cast<int>(Group)].getName(); in getWarningOptionForGroup()
636 std::optional<diag::Group>
642 return static_cast<diag::Group>(Found - OptionTable); in getGroupForWarningOption()
645 std::optional<diag::Group> DiagnosticIDs::getGroupForDiag(unsigned DiagID) { in getGroupForDiag()
647 return static_cast<diag::Group>(Info->getOptionGroupIndex()); in getGroupForDiag()
675 const WarningOption *Group, in getDiagnosticsInGroup() argument
679 if (!Group->Members && !Group->SubGroups) in getDiagnosticsInGroup()
685 const int16_t *Member = DiagArrays + Group->Members; in getDiagnosticsInGroup()
694 const int16_t *SubGroups = DiagSubGroups + Group->SubGroups; in getDiagnosticsInGroup()
703 DiagnosticIDs::getDiagnosticsInGroup(diag::Flavor Flavor, StringRef Group, in getDiagnosticsInGroup() argument
705 if (std::optional<diag::Group> G = getGroupForWarningOption(Group)) in getDiagnosticsInGroup()
719 StringRef Group) { in getNearestOption() argument
721 unsigned BestDistance = Group.size() + 1; // Maximum threshold. in getNearestOption()
727 unsigned Distance = O.getName().edit_distance(Group, true, BestDistance); in getNearestOption()