Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DAttrSubjectMatchRules.h19 enum SubjectMatchRule { enum
27 const char *getSubjectMatchRuleSpelling(SubjectMatchRule Rule);
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaAttr.cpp872 std::optional<attr::SubjectMatchRule>
873 getParentAttrMatcherRule(attr::SubjectMatchRule Rule) { in getParentAttrMatcherRule()
886 bool isNegatedAttrMatcherSubRule(attr::SubjectMatchRule Rule) { in isNegatedAttrMatcherSubRule()
912 attrMatcherRuleListToString(ArrayRef<attr::SubjectMatchRule> Rules) { in attrMatcherRuleListToString()
929 SmallVector<attr::SubjectMatchRule, 4> SubjectMatchRules; in ActOnPragmaAttributeAttribute()
931 SmallVector<std::pair<attr::SubjectMatchRule, bool>, 4> in ActOnPragmaAttributeAttribute()
946 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
947 std::optional<attr::SubjectMatchRule> ParentRule = in ActOnPragmaAttributeAttribute()
970 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
971 std::optional<attr::SubjectMatchRule> ParentRule = in ActOnPragmaAttributeAttribute()
[all …]
H A DParsedAttr.cpp179 attr::SubjectMatchRule MatchRule) const { in appliesToDecl()
185 SmallVectorImpl<std::pair<attr::SubjectMatchRule, bool>> &MatchRules) in getMatchRules() argument
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DAttributes.cpp35 const char *attr::getSubjectMatchRuleSpelling(attr::SubjectMatchRule Rule) { in getSubjectMatchRuleSpelling()
/openbsd-src/gnu/llvm/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.h737 SmallVector<attr::SubjectMatchRule, 4> MatchRules;
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParsePragma.cpp1528 static bool isAbstractAttrMatcherRule(attr::SubjectMatchRule Rule) { in isAbstractAttrMatcherRule()
1541 Parser &PRef, attr::SubjectMatchRule PrimaryRule, StringRef PrimaryRuleName, in diagnoseExpectedAttributeSubjectSubRule()
1554 Parser &PRef, attr::SubjectMatchRule PrimaryRule, StringRef PrimaryRuleName, in diagnoseUnknownAttributeSubjectSubRule()
1585 std::pair<std::optional<attr::SubjectMatchRule>, in ParsePragmaAttributeSubjectMatchRuleSet()
1586 std::optional<attr::SubjectMatchRule> (*)(StringRef, bool)> in ParsePragmaAttributeSubjectMatchRuleSet()
1592 attr::SubjectMatchRule PrimaryRule = *Rule.first; in ParsePragmaAttributeSubjectMatchRuleSet()
1619 attr::SubjectMatchRule SubRule; in ParsePragmaAttributeSubjectMatchRuleSet()
1726 SmallVector<std::pair<attr::SubjectMatchRule, bool>, 4> MatchRules; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1753 static_cast<attr::SubjectMatchRule>(I)); in createExpectedAttributeSubjectRulesTokenDiagnostic()