Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DAttrSubjectMatchRules.h19 enum SubjectMatchRule { enum
27 const char *getSubjectMatchRuleSpelling(SubjectMatchRule Rule);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAttr.cpp875 Optional<attr::SubjectMatchRule>
876 getParentAttrMatcherRule(attr::SubjectMatchRule Rule) { in getParentAttrMatcherRule()
932 SmallVector<attr::SubjectMatchRule, 4> SubjectMatchRules; in ActOnPragmaAttributeAttribute()
934 SmallVector<std::pair<attr::SubjectMatchRule, bool>, 4> in ActOnPragmaAttributeAttribute()
949 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
950 Optional<attr::SubjectMatchRule> ParentRule = in ActOnPragmaAttributeAttribute()
973 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
974 Optional<attr::SubjectMatchRule> ParentRule = in ActOnPragmaAttributeAttribute()
987 attr::SubjectMatchRule(It->second.first)) in ActOnPragmaAttributeAttribute()
1025 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
[all …]
H A DParsedAttr.cpp179 attr::SubjectMatchRule MatchRule) const { in appliesToDecl()
185 SmallVectorImpl<std::pair<attr::SubjectMatchRule, bool>> &MatchRules) in getMatchRules() argument
/llvm-project-15.0.7/clang/lib/Basic/
H A DAttributes.cpp36 const char *attr::getSubjectMatchRuleSpelling(attr::SubjectMatchRule Rule) { in getSubjectMatchRuleSpelling()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DParsedAttr.h135 llvm::SmallVectorImpl<std::pair<attr::SubjectMatchRule, bool>> &Rules, in getPragmaAttributeMatchRules()
644 bool appliesToDecl(const Decl *D, attr::SubjectMatchRule MatchRule) const;
646 SmallVectorImpl<std::pair<attr::SubjectMatchRule, bool>>
H A DSema.h736 SmallVector<attr::SubjectMatchRule, 4> MatchRules;
/llvm-project-15.0.7/clang/lib/Parse/
H A DParsePragma.cpp1474 static bool isAbstractAttrMatcherRule(attr::SubjectMatchRule Rule) { in isAbstractAttrMatcherRule()
1487 Parser &PRef, attr::SubjectMatchRule PrimaryRule, StringRef PrimaryRuleName, in diagnoseExpectedAttributeSubjectSubRule()
1500 Parser &PRef, attr::SubjectMatchRule PrimaryRule, StringRef PrimaryRuleName, in diagnoseUnknownAttributeSubjectSubRule()
1531 std::pair<Optional<attr::SubjectMatchRule>, in ParsePragmaAttributeSubjectMatchRuleSet()
1532 Optional<attr::SubjectMatchRule> (*)(StringRef, bool)> in ParsePragmaAttributeSubjectMatchRuleSet()
1538 attr::SubjectMatchRule PrimaryRule = *Rule.first; in ParsePragmaAttributeSubjectMatchRuleSet()
1565 attr::SubjectMatchRule SubRule; in ParsePragmaAttributeSubjectMatchRuleSet()
1672 SmallVector<std::pair<attr::SubjectMatchRule, bool>, 4> MatchRules; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1699 static_cast<attr::SubjectMatchRule>(I)); in createExpectedAttributeSubjectRulesTokenDiagnostic()