Lines Matching refs:DiagsInGroup

133     std::vector<const Record*> DiagsInGroup;  member
158 std::map<std::string, GroupInfo> &DiagsInGroup) { in groupDiagnostics() argument
169 DiagsInGroup[GroupName].DiagsInGroup.push_back(R); in groupDiagnostics()
177 DiagsInGroup[std::string(Group->getValueAsString("GroupName"))]; in groupDiagnostics()
190 I = DiagsInGroup.begin(), E = DiagsInGroup.end(); I != E; ++I, ++IDNo) in groupDiagnostics()
194 for (auto &Group : DiagsInGroup) { in groupDiagnostics()
197 Group.second.DiagsInGroup.size() <= 1)) in groupDiagnostics()
205 for (const Record *Diag : Group.second.DiagsInGroup) { in groupDiagnostics()
225 for (const Record *Diag : Group.second.DiagsInGroup) { in groupDiagnostics()
260 std::map<std::string, GroupInfo> &DiagsInGroup; member in __anonded1697c0311::InferPedantic
267 std::map<std::string, GroupInfo> &DiagsInGroup) in InferPedantic() argument
271 DiagsInGroup(DiagsInGroup) {} in InferPedantic()
331 DiagsInGroup[std::string(Group->getValueAsString("GroupName"))]; in groupInPedantic()
332 V.second = GI.SubGroups.size() + GI.DiagsInGroup.size(); in groupInPedantic()
1429 std::map<std::string, GroupInfo> DiagsInGroup; in EmitClangDiagsDefs() local
1430 groupDiagnostics(Diags, DiagGroups, DiagsInGroup); in EmitClangDiagsDefs()
1437 InferPedantic inferPedantic(DGParentMap, Diags, DiagGroups, DiagsInGroup); in EmitClangDiagsDefs()
1482 std::map<std::string, GroupInfo>::iterator I = DiagsInGroup.find( in EmitClangDiagsDefs()
1484 assert(I != DiagsInGroup.end()); in EmitClangDiagsDefs()
1488 DiagsInGroup.find("pedantic"); in EmitClangDiagsDefs()
1489 assert(I != DiagsInGroup.end() && "pedantic group not defined"); in EmitClangDiagsDefs()
1552 static void emitDiagSubGroups(std::map<std::string, GroupInfo> &DiagsInGroup, in emitDiagSubGroups() argument
1556 for (auto const &I : DiagsInGroup) { in emitDiagSubGroups()
1564 DiagsInGroup.find(SubGroup); in emitDiagSubGroups()
1565 assert(RI != DiagsInGroup.end() && "Referenced without existing?"); in emitDiagSubGroups()
1574 DiagsInGroup.find(GroupName); in emitDiagSubGroups()
1575 assert(RI != DiagsInGroup.end() && "Referenced without existing?"); in emitDiagSubGroups()
1604 static void emitDiagArrays(std::map<std::string, GroupInfo> &DiagsInGroup, in emitDiagArrays() argument
1608 for (auto const &I : DiagsInGroup) { in emitDiagArrays()
1611 const std::vector<const Record *> &V = I.second.DiagsInGroup; in emitDiagArrays()
1656 static void emitAllDiagArrays(std::map<std::string, GroupInfo> &DiagsInGroup, in emitAllDiagArrays() argument
1662 emitDiagArrays(DiagsInGroup, DiagsInPedantic, OS); in emitAllDiagArrays()
1663 emitDiagSubGroups(DiagsInGroup, GroupsInPedantic, OS); in emitAllDiagArrays()
1683 static void emitDiagTable(std::map<std::string, GroupInfo> &DiagsInGroup, in emitDiagTable() argument
1689 for (auto const &I: DiagsInGroup) in emitDiagTable()
1694 for (auto const &I: DiagsInGroup) { in emitDiagTable()
1714 const std::vector<const Record *> &V = I.second.DiagsInGroup; in emitDiagTable()
1783 std::map<std::string, GroupInfo> DiagsInGroup; in EmitClangDiagGroups() local
1784 groupDiagnostics(Diags, DiagGroups, DiagsInGroup); in EmitClangDiagGroups()
1791 InferPedantic inferPedantic(DGParentMap, Diags, DiagGroups, DiagsInGroup); in EmitClangDiagGroups()
1796 I = DiagsInGroup.begin(), in EmitClangDiagGroups()
1797 E = DiagsInGroup.end(); in EmitClangDiagGroups()
1804 emitAllDiagArrays(DiagsInGroup, DiagsInPedantic, GroupsInPedantic, GroupNames, in EmitClangDiagGroups()
1806 emitDiagTable(DiagsInGroup, DiagsInPedantic, GroupsInPedantic, GroupNames, in EmitClangDiagGroups()
1857 const std::map<std::string, GroupInfo> &DiagsInGroup) { in isRemarkGroup() argument
1861 auto &GroupInfo = DiagsInGroup.find(std::string(GroupName))->second; in isRemarkGroup()
1862 for (const Record *Diag : GroupInfo.DiagsInGroup) in isRemarkGroup()
1883 const std::map<std::string, GroupInfo> &DiagsInGroup) { in getDefaultSeverities() argument
1887 auto &GroupInfo = DiagsInGroup.find(std::string(GroupName))->second; in getDefaultSeverities()
1888 for (const Record *Diag : GroupInfo.DiagsInGroup) in getDefaultSeverities()
1941 std::map<std::string, GroupInfo> DiagsInGroup; in EmitClangDiagDocs() local
1942 groupDiagnostics(Diags, DiagGroups, DiagsInGroup); in EmitClangDiagDocs()
1948 InferPedantic inferPedantic(DGParentMap, Diags, DiagGroups, DiagsInGroup); in EmitClangDiagDocs()
1950 auto &PedDiags = DiagsInGroup["pedantic"]; in EmitClangDiagDocs()
1958 PedDiags.DiagsInGroup.insert(PedDiags.DiagsInGroup.end(), in EmitClangDiagDocs()
1970 bool IsRemarkGroup = isRemarkGroup(G, DiagsInGroup); in EmitClangDiagDocs()
1972 DiagsInGroup[std::string(G->getValueAsString("GroupName"))]; in EmitClangDiagDocs()
1973 bool IsSynonym = GroupInfo.DiagsInGroup.empty() && in EmitClangDiagDocs()
1983 auto DefaultSeverities = getDefaultSeverities(G, DiagsInGroup); in EmitClangDiagDocs()
2002 else if (GroupInfo.DiagsInGroup.empty()) in EmitClangDiagDocs()
2017 if (!GroupInfo.DiagsInGroup.empty()) { in EmitClangDiagDocs()
2019 for (const Record *D : GroupInfo.DiagsInGroup) { in EmitClangDiagDocs()
2032 else if (GroupInfo.SubGroups.empty() && GroupInfo.DiagsInGroup.empty()) in EmitClangDiagDocs()