Lines Matching defs:SubGroups
49 std::vector<Record*> SubGroups =
50 DiagGroups[i]->getValueAsListOfDefs("SubGroups");
51 for (unsigned j = 0, e = SubGroups.size(); j != e; ++j)
52 Mapping[SubGroups[j]].push_back(DiagGroups[i]);
133 std::vector<std::string> SubGroups;
179 std::vector<Record*> SubGroups = Group->getValueAsListOfDefs("SubGroups");
180 for (unsigned j = 0, e = SubGroups.size(); j != e; ++j)
181 GI.SubGroups.push_back(
182 std::string(SubGroups[j]->getValueAsString("GroupName")));
329 V.second = GI.SubGroups.size() + GI.DiagsInGroup.size();
336 // or subgroup AND all of those diagnostics and subgroups are covered
342 // If all the diagnostics and subgroups have been marked as being
344 // group's count is equal to the number of subgroups and diagnostics in
1336 /// Emit the array of diagnostic subgroups.
1338 /// The array of diagnostic subgroups contains for each group a list of its
1339 /// subgroups. The individual lists are separated by '-1'. Groups with no
1340 /// subgroups are skipped.
1357 const std::vector<std::string> &SubGroups = I.second.SubGroups;
1358 if (!SubGroups.empty() || (IsPedantic && !GroupsInPedantic.empty())) {
1360 for (auto const &SubGroup : SubGroups) {
1444 /// This creates the actual diagnostic array, an array of diagnostic subgroups
1471 /// reference to a set of subgroups (optional).
1523 // Subgroups.
1524 const std::vector<std::string> &SubGroups = I.second.SubGroups;
1526 !SubGroups.empty() || (IsPedantic && !GroupsInPedantic.empty());
1531 SubGroupIndex += SubGroups.size() + 1;
1652 for (const auto &Name : GroupInfo.SubGroups)
1678 for (const auto &Name : GroupInfo.SubGroups)
1750 PedDiags.SubGroups.push_back(
1762 GroupInfo.SubGroups.size() == 1;
1787 if (!GroupInfo.SubGroups.empty()) {
1796 llvm::sort(GroupInfo.SubGroups);
1797 for (const auto &Name : GroupInfo.SubGroups) {
1820 else if (GroupInfo.SubGroups.empty() && GroupInfo.DiagsInGroup.empty())