• Home
  • Raw
  • Download

Lines Matching refs:DiagsInGroup

132     std::vector<const Record*> DiagsInGroup;  member
149 assert(!LHS->DiagsInGroup.empty() && !RHS->DiagsInGroup.empty()); in beforeThanCompareGroups()
150 return beforeThanCompare(LHS->DiagsInGroup.front(), in beforeThanCompareGroups()
151 RHS->DiagsInGroup.front()); in beforeThanCompareGroups()
167 std::map<std::string, GroupInfo> &DiagsInGroup) { in groupDiagnostics() argument
177 DiagsInGroup[GroupName].DiagsInGroup.push_back(R); in groupDiagnostics()
187 GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; in groupDiagnostics()
189 if (GI.DiagsInGroup.size() > 1) in groupDiagnostics()
206 I = DiagsInGroup.begin(), E = DiagsInGroup.end(); I != E; ++I, ++IDNo) in groupDiagnostics()
215 MutableArrayRef<const Record *> GroupDiags = (*I)->DiagsInGroup; in groupDiagnostics()
224 ArrayRef<const Record *> GroupDiags = (*I)->DiagsInGroup; in groupDiagnostics()
300 std::map<std::string, GroupInfo> &DiagsInGroup; member in __anon3504dbe50411::InferPedantic
307 std::map<std::string, GroupInfo> &DiagsInGroup) in InferPedantic() argument
311 DiagsInGroup(DiagsInGroup) {} in InferPedantic()
369 const GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; in groupInPedantic()
370 V.second = GI.SubGroups.size() + GI.DiagsInGroup.size(); in groupInPedantic()
502 std::map<std::string, GroupInfo> DiagsInGroup; in EmitClangDiagsDefs() local
503 groupDiagnostics(Diags, DiagGroups, DiagsInGroup); in EmitClangDiagsDefs()
510 InferPedantic inferPedantic(DGParentMap, Diags, DiagGroups, DiagsInGroup); in EmitClangDiagsDefs()
552 DiagsInGroup.find(DI->getDef()->getValueAsString("GroupName")); in EmitClangDiagsDefs()
553 assert(I != DiagsInGroup.end()); in EmitClangDiagsDefs()
557 DiagsInGroup.find("pedantic"); in EmitClangDiagsDefs()
558 assert(I != DiagsInGroup.end() && "pedantic group not defined"); in EmitClangDiagsDefs()
612 static void emitDiagSubGroups(std::map<std::string, GroupInfo> &DiagsInGroup, in emitDiagSubGroups() argument
616 for (auto const &I : DiagsInGroup) { in emitDiagSubGroups()
624 DiagsInGroup.find(SubGroup); in emitDiagSubGroups()
625 assert(RI != DiagsInGroup.end() && "Referenced without existing?"); in emitDiagSubGroups()
633 DiagsInGroup.find(GroupName); in emitDiagSubGroups()
634 assert(RI != DiagsInGroup.end() && "Referenced without existing?"); in emitDiagSubGroups()
663 static void emitDiagArrays(std::map<std::string, GroupInfo> &DiagsInGroup, in emitDiagArrays() argument
667 for (auto const &I : DiagsInGroup) { in emitDiagArrays()
670 const std::vector<const Record *> &V = I.second.DiagsInGroup; in emitDiagArrays()
715 static void emitAllDiagArrays(std::map<std::string, GroupInfo> &DiagsInGroup, in emitAllDiagArrays() argument
721 emitDiagArrays(DiagsInGroup, DiagsInPedantic, OS); in emitAllDiagArrays()
722 emitDiagSubGroups(DiagsInGroup, GroupsInPedantic, OS); in emitAllDiagArrays()
742 static void emitDiagTable(std::map<std::string, GroupInfo> &DiagsInGroup, in emitDiagTable() argument
748 for (auto const &I: DiagsInGroup) in emitDiagTable()
753 for (auto const &I: DiagsInGroup) { in emitDiagTable()
771 const std::vector<const Record *> &V = I.second.DiagsInGroup; in emitDiagTable()
833 std::map<std::string, GroupInfo> DiagsInGroup; in EmitClangDiagGroups() local
834 groupDiagnostics(Diags, DiagGroups, DiagsInGroup); in EmitClangDiagGroups()
841 InferPedantic inferPedantic(DGParentMap, Diags, DiagGroups, DiagsInGroup); in EmitClangDiagGroups()
846 I = DiagsInGroup.begin(), in EmitClangDiagGroups()
847 E = DiagsInGroup.end(); in EmitClangDiagGroups()
854 emitAllDiagArrays(DiagsInGroup, DiagsInPedantic, GroupsInPedantic, GroupNames, in EmitClangDiagGroups()
856 emitDiagTable(DiagsInGroup, DiagsInPedantic, GroupsInPedantic, GroupNames, in EmitClangDiagGroups()