• Home
  • Raw
  • Download

Lines Matching refs:Group

56   const std::vector<Record*> &getParents(const Record *Group) {  in getParents()  argument
57 return Mapping[Group]; in getParents()
63 getCategoryFromDiagGroup(const Record *Group, in getCategoryFromDiagGroup() argument
66 std::string CatName = Group->getValueAsString("CategoryName"); in getCategoryFromDiagGroup()
71 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup()
84 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in getDiagnosticCategory() local
86 std::string CatName = getCategoryFromDiagGroup(Group->getDef(), in getDiagnosticCategory()
187 Record *Group = DiagGroups[i]; in groupDiagnostics() local
188 GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; in groupDiagnostics()
189 if (Group->isAnonymous()) { in groupDiagnostics()
194 assert(GI.ExplicitDef == Group); in groupDiagnostics()
196 GI.ExplicitDef = Group; in groupDiagnostics()
199 std::vector<Record*> SubGroups = Group->getValueAsListOfDefs("SubGroups"); in groupDiagnostics()
321 bool isSubGroupOfGroup(const Record *Group,
332 void markGroup(const Record *Group);
335 bool groupInPedantic(const Record *Group, bool increment = false);
339 bool InferPedantic::isSubGroupOfGroup(const Record *Group, in isSubGroupOfGroup() argument
342 const std::string &GroupName = Group->getValueAsString("GroupName"); in isSubGroupOfGroup()
346 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in isSubGroupOfGroup()
366 bool InferPedantic::groupInPedantic(const Record *Group, bool increment) { in groupInPedantic() argument
367 GMap::mapped_type &V = GroupCount[Group]; in groupInPedantic()
370 const GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")]; in groupInPedantic()
383 void InferPedantic::markGroup(const Record *Group) { in markGroup() argument
388 if (groupInPedantic(Group, /* increment */ true)) { in markGroup()
389 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in markGroup()
404 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) { in compute() local
405 const Record *GroupRec = Group->getDef(); in compute()
423 if (DefInit *Group = dyn_cast<DefInit>(R->getValueInit("Group"))) in compute() local
424 if (groupInPedantic(Group->getDef())) in compute()
443 Record *Group = DiagGroups[i]; in compute() local
444 if (!groupInPedantic(Group)) in compute()
448 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in compute()
461 V->push_back(Group); in compute()
463 GroupsInPedantic.get<RecordSet*>()->insert(Group); in compute()
520 if (DefInit *Group = dyn_cast<DefInit>(R.getValueInit("Group"))) { in EmitClangDiagsDefs() local
521 const Record *GroupRec = Group->getDef(); in EmitClangDiagsDefs()
631 for (auto const &Group : GroupsInPedantic) { in emitDiagSubGroups() local
632 const std::string &GroupName = Group->getValueAsString("GroupName"); in emitDiagSubGroups()