Lines Matching defs:AttributeSubjectMatchRule
1710 struct AttributeSubjectMatchRule { struct
1711 const Record *MetaSubject;
1712 const Record *Constraint;
1714 AttributeSubjectMatchRule(const Record *MetaSubject, const Record *Constraint) in AttributeSubjectMatchRule() argument
1719 bool isSubRule() const { return Constraint != nullptr; } in isSubRule()
1721 std::vector<Record *> getSubjects() const { in getSubjects()
1726 std::vector<Record *> getLangOpts() const { in getLangOpts()
1738 bool isAbstractRule() const { return getSubjects().empty(); } in isAbstractRule()
1740 StringRef getName() const { in getName()
1744 bool isNegatedSubRule() const { in isNegatedSubRule()
1749 std::string getSpelling() const { in getSpelling()
1763 std::string getEnumValueName() const { in getEnumValueName()
1778 std::string getEnumValue() const { return "attr::" + getEnumValueName(); } in getEnumValue()
1780 static const char *EnumName;