Lines Matching refs:MetaSubject
1731 const Record *MetaSubject; member
1734 AttributeSubjectMatchRule(const Record *MetaSubject, const Record *Constraint) in AttributeSubjectMatchRule()
1735 : MetaSubject(MetaSubject), Constraint(Constraint) { in AttributeSubjectMatchRule()
1736 assert(MetaSubject && "Missing subject"); in AttributeSubjectMatchRule()
1742 return (Constraint ? Constraint : MetaSubject) in getSubjects()
1754 return MetaSubject->getValueAsListOfDefs("LangOpts"); in getLangOpts()
1761 return (Constraint ? Constraint : MetaSubject)->getValueAsString("Name"); in getName()
1770 std::string Result = std::string(MetaSubject->getValueAsString("Name")); in getSpelling()
1786 Result += MetaSubject->getValueAsString("Name"); in getEnumValueName()
1865 const Record *MetaSubject, in PragmaClangAttributeSupport()
1867 Rules.emplace_back(MetaSubject, Constraint); in PragmaClangAttributeSupport()
1874 AttributeSubjectMatchRule(MetaSubject, in PragmaClangAttributeSupport()
1883 for (const auto *MetaSubject : MetaSubjects) { in PragmaClangAttributeSupport() local
1884 MapFromSubjectsToRules(MetaSubject, MetaSubject, /*Constraints=*/nullptr); in PragmaClangAttributeSupport()
1886 MetaSubject->getValueAsListOfDefs("Constraints"); in PragmaClangAttributeSupport()
1888 MapFromSubjectsToRules(Constraint, MetaSubject, Constraint); in PragmaClangAttributeSupport()
1942 << AttributeSubjectMatchRule(Rule.MetaSubject, nullptr).getEnumValue() in emitMatchRuleList()
2051 SubMatchRules[Rule.MetaSubject].push_back(Rule); in generateParsingHelpers()
2090 if (SubMatchRules.count(Rule.MetaSubject)) in generateParsingHelpers()