Lines Matching refs:EnableIfAttr
904 FD->hasAttr<EnableIfAttr>(); in shouldAddReversed()
1263 for (specific_attr_iterator<EnableIfAttr> in IsOverload()
1264 NewI = New->specific_attr_begin<EnableIfAttr>(), in IsOverload()
1265 NewE = New->specific_attr_end<EnableIfAttr>(), in IsOverload()
1266 OldI = Old->specific_attr_begin<EnableIfAttr>(), in IsOverload()
1267 OldE = Old->specific_attr_end<EnableIfAttr>(); in IsOverload()
6475 if (EnableIfAttr *FailedAttr = in AddOverloadCandidate()
6644 EnableIfAttr *Sema::CheckEnableIf(FunctionDecl *Function, in CheckEnableIf()
6648 auto EnableIfAttrs = Function->specific_attrs<EnableIfAttr>(); in CheckEnableIf()
6987 if (EnableIfAttr *FailedAttr = in AddMethodCandidate()
7441 if (EnableIfAttr *FailedAttr = in AddConversionCandidate()
7612 if (EnableIfAttr *FailedAttr = in AddSurrogateCandidate()
9403 bool Cand1Attr = Cand1->hasAttr<EnableIfAttr>(); in compareEnableIfAttrs()
9404 bool Cand2Attr = Cand2->hasAttr<EnableIfAttr>(); in compareEnableIfAttrs()
9411 auto Cand1Attrs = Cand1->specific_attrs<EnableIfAttr>(); in compareEnableIfAttrs()
9412 auto Cand2Attrs = Cand2->specific_attrs<EnableIfAttr>(); in compareEnableIfAttrs()
9416 Optional<EnableIfAttr *> Cand1A = std::get<0>(Pair); in compareEnableIfAttrs()
9417 Optional<EnableIfAttr *> Cand2A = std::get<1>(Pair); in compareEnableIfAttrs()
10145 for (auto *EnableIf : FD->specific_attrs<EnableIfAttr>()) { in isFunctionAlwaysEnabled()
11054 EnableIfAttr *Attr = static_cast<EnableIfAttr*>(Cand->DeductionFailure.Data); in DiagnoseFailedEnableIfAttr()
14393 if (const EnableIfAttr *Attr = in BuildCallToMemberFunction()