Lines Matching defs:AttributeSubjectMatchRule
1734 struct AttributeSubjectMatchRule { struct
1735 const Record *MetaSubject;
1736 const Record *Constraint;
1738 AttributeSubjectMatchRule(const Record *MetaSubject, const Record *Constraint) in AttributeSubjectMatchRule() argument
1743 bool isSubRule() const { return Constraint != nullptr; } in isSubRule()
1745 std::vector<Record *> getSubjects() const { in getSubjects()
1750 std::vector<Record *> getLangOpts() const { in getLangOpts()
1762 bool isAbstractRule() const { return getSubjects().empty(); } in isAbstractRule()
1764 StringRef getName() const { in getName()
1768 bool isNegatedSubRule() const { in isNegatedSubRule()
1773 std::string getSpelling() const { in getSpelling()
1787 std::string getEnumValueName() const { in getEnumValueName()
1802 std::string getEnumValue() const { return "attr::" + getEnumValueName(); } in getEnumValue()
1804 static const char *EnumName;