Home
last modified time | relevance | path

Searched refs:SubjectMatchRule (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrSubjectMatchRules.h21 enum SubjectMatchRule { enum
29 const char *getSubjectMatchRuleSpelling(SubjectMatchRule Rule);
H A DParsedAttrInfo.h146 llvm::SmallVectorImpl<std::pair<attr::SubjectMatchRule, bool>> &Rules, in getPragmaAttributeMatchRules()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp869 std::optional<attr::SubjectMatchRule>
870 getParentAttrMatcherRule(attr::SubjectMatchRule Rule) { in getParentAttrMatcherRule()
926 SmallVector<attr::SubjectMatchRule, 4> SubjectMatchRules; in ActOnPragmaAttributeAttribute()
928 SmallVector<std::pair<attr::SubjectMatchRule, bool>, 4> in ActOnPragmaAttributeAttribute()
943 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
944 std::optional<attr::SubjectMatchRule> ParentRule = in ActOnPragmaAttributeAttribute()
967 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
968 std::optional<attr::SubjectMatchRule> ParentRule = in ActOnPragmaAttributeAttribute()
981 attr::SubjectMatchRule(It->second.first)) in ActOnPragmaAttributeAttribute()
1019 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
[all …]
H A DParsedAttr.cpp169 attr::SubjectMatchRule MatchRule) const { in appliesToDecl()
175 SmallVectorImpl<std::pair<attr::SubjectMatchRule, bool>> &MatchRules) in getMatchRules() argument
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp65 const char *attr::getSubjectMatchRuleSpelling(attr::SubjectMatchRule Rule) { in getSubjectMatchRuleSpelling()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1627 static bool isAbstractAttrMatcherRule(attr::SubjectMatchRule Rule) { in isAbstractAttrMatcherRule()
1640 Parser &PRef, attr::SubjectMatchRule PrimaryRule, StringRef PrimaryRuleName, in diagnoseExpectedAttributeSubjectSubRule()
1653 Parser &PRef, attr::SubjectMatchRule PrimaryRule, StringRef PrimaryRuleName, in diagnoseUnknownAttributeSubjectSubRule()
1684 std::pair<std::optional<attr::SubjectMatchRule>, in ParsePragmaAttributeSubjectMatchRuleSet()
1685 std::optional<attr::SubjectMatchRule> (*)(StringRef, bool)> in ParsePragmaAttributeSubjectMatchRuleSet()
1691 attr::SubjectMatchRule PrimaryRule = *Rule.first; in ParsePragmaAttributeSubjectMatchRuleSet()
1718 attr::SubjectMatchRule SubRule; in ParsePragmaAttributeSubjectMatchRuleSet()
1825 SmallVector<std::pair<attr::SubjectMatchRule, bool>, 4> MatchRules; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1852 static_cast<attr::SubjectMatchRule>(I)); in createExpectedAttributeSubjectRulesTokenDiagnostic()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h525 bool appliesToDecl(const Decl *D, attr::SubjectMatchRule MatchRule) const;
527 SmallVectorImpl<std::pair<attr::SubjectMatchRule, bool>>
H A DSema.h764 SmallVector<attr::SubjectMatchRule, 4> MatchRules;