Lines Matching refs:Rule
876 getParentAttrMatcherRule(attr::SubjectMatchRule Rule) { in getParentAttrMatcherRule() argument
878 switch (Rule) { in getParentAttrMatcherRule()
889 bool isNegatedAttrMatcherSubRule(attr::SubjectMatchRule Rule) { in isNegatedAttrMatcherSubRule() argument
891 switch (Rule) { in isNegatedAttrMatcherSubRule()
948 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
949 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
957 Diag(Rule.second.getBegin(), in ActOnPragmaAttributeAttribute()
962 replacementRangeForListElement(*this, Rule.second)); in ActOnPragmaAttributeAttribute()
969 std::make_pair(*ParentRule, Rule)); in ActOnPragmaAttributeAttribute()
972 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
973 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
980 It->second != Rule) { in ActOnPragmaAttributeAttribute()
988 << attr::getSubjectMatchRuleSpelling(MatchRule) << Rule.second in ActOnPragmaAttributeAttribute()
998 for (const auto &Rule : Rules) in ActOnPragmaAttributeAttribute() local
999 SubjectMatchRules.push_back(attr::SubjectMatchRule(Rule.first)); in ActOnPragmaAttributeAttribute()
1001 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
1002 if (!isNegatedAttrMatcherSubRule(attr::SubjectMatchRule(Rule.first))) in ActOnPragmaAttributeAttribute()
1003 SubjectMatchRules.push_back(attr::SubjectMatchRule(Rule.first)); in ActOnPragmaAttributeAttribute()
1024 for (const auto &Rule : RulesToCheck) { in ActOnPragmaAttributeAttribute() local
1025 attr::SubjectMatchRule MatchRule = attr::SubjectMatchRule(Rule.first); in ActOnPragmaAttributeAttribute()
1044 for (const auto &Rule : Rules) { in ActOnPragmaAttributeAttribute() local
1045 ExtraRules.push_back(attr::SubjectMatchRule(Rule.first)); in ActOnPragmaAttributeAttribute()
1047 replacementRangeForListElement(*this, Rule.second)); in ActOnPragmaAttributeAttribute()
1115 for (const auto &Rule : Entry.MatchRules) { in AddPragmaAttributes() local
1116 if (Attribute->appliesToDecl(D, Rule)) { in AddPragmaAttributes()