Lines Matching refs:Rule

867 getParentAttrMatcherRule(attr::SubjectMatchRule Rule) {  in getParentAttrMatcherRule()  argument
869 switch (Rule) { in getParentAttrMatcherRule()
880 bool isNegatedAttrMatcherSubRule(attr::SubjectMatchRule Rule) { in isNegatedAttrMatcherSubRule() argument
882 switch (Rule) { in isNegatedAttrMatcherSubRule()
939 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
940 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
948 Diag(Rule.second.getBegin(), in ActOnPragmaAttributeAttribute()
953 replacementRangeForListElement(*this, Rule.second)); in ActOnPragmaAttributeAttribute()
960 std::make_pair(*ParentRule, Rule)); in ActOnPragmaAttributeAttribute()
963 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
964 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
971 It->second != Rule) { in ActOnPragmaAttributeAttribute()
979 << attr::getSubjectMatchRuleSpelling(MatchRule) << Rule.second in ActOnPragmaAttributeAttribute()
989 for (const auto &Rule : Rules) in ActOnPragmaAttributeAttribute() local
990 SubjectMatchRules.push_back(attr::SubjectMatchRule(Rule.first)); in ActOnPragmaAttributeAttribute()
992 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
993 if (!isNegatedAttrMatcherSubRule(attr::SubjectMatchRule(Rule.first))) in ActOnPragmaAttributeAttribute()
994 SubjectMatchRules.push_back(attr::SubjectMatchRule(Rule.first)); in ActOnPragmaAttributeAttribute()
1015 for (const auto &Rule : RulesToCheck) { in ActOnPragmaAttributeAttribute() local
1016 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
1035 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
1036 ExtraRules.push_back(attr::SubjectMatchRule(Rule.first)); in ActOnPragmaAttributeAttribute()
1038 replacementRangeForListElement(*this, Rule.second)); in ActOnPragmaAttributeAttribute()
1106 for (const auto &Rule : Entry.MatchRules) { in AddPragmaAttributes() local
1107 if (Attribute->appliesToDecl(D, Rule)) { in AddPragmaAttributes()