Home | History | Annotate | Download | only in TableGen

Lines Matching defs:Group

47   const std::vector<Record*> &getParents(const Record *Group) {
48 return Mapping[Group];
54 getCategoryFromDiagGroup(const Record *Group,
57 std::string CatName = Group->getValueAsString("CategoryName");
60 // The diag group may the subgroup of one or more other diagnostic groups,
62 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group);
74 // If the diagnostic is in a group, and that group has a category, use it.
75 if (DefInit *Group = dynamic_cast<DefInit*>(R->getValueInit("Group"))) {
76 // Check the diagnostic's diag group for a category.
77 std::string CatName = getCategoryFromDiagGroup(Group->getDef(),
129 /// \brief Invert the 1-[0/1] mapping of diags to group into a one to many
130 /// mapping of groups to diags in the group.
136 DefInit *DI = dynamic_cast<DefInit*>(R->getValueInit("Group"));
145 Record *Group = DiagGroups[i];
146 GroupInfo &GI = DiagsInGroup[Group->getValueAsString("GroupName")];
148 std::vector<Record*> SubGroups = Group->getValueAsListOfDefs("SubGroups");
203 if (DefInit *DI = dynamic_cast<DefInit*>(R.getValueInit("Group"))) {
247 // Warning Group Tables generation
306 // Group option string.
313 throw "Invalid character in diagnostic group '" + I->first + "'";
317 // Diagnostics in the group.