Lines Matching refs:Cand2
8450 const FunctionDecl *Cand2) { in hasBetterEnableIfAttrs() argument
8456 auto Cand2Attrs = getOrderedEnableIfAttrs(Cand2); in hasBetterEnableIfAttrs()
8482 const OverloadCandidate &Cand2, in isBetterOverloadCandidate() argument
8487 if (!Cand2.Viable) in isBetterOverloadCandidate()
8499 if (Cand1.IgnoreObjectArgument || Cand2.IgnoreObjectArgument) in isBetterOverloadCandidate()
8507 assert(Cand2.NumConversions == NumArgs && "Overload candidate mismatch"); in isBetterOverloadCandidate()
8512 Cand2.Conversions[ArgIdx])) { in isBetterOverloadCandidate()
8539 if (UserDefinedConversion && Cand1.Function && Cand2.Function && in isBetterOverloadCandidate()
8541 isa<CXXConversionDecl>(Cand2.Function)) { in isBetterOverloadCandidate()
8547 compareConversionFunctions(S, Cand1.Function, Cand2.Function); in isBetterOverloadCandidate()
8551 Cand2.FinalConversion); in isBetterOverloadCandidate()
8565 bool Cand2IsSpecialization = Cand2.Function && in isBetterOverloadCandidate()
8566 Cand2.Function->getPrimaryTemplate(); in isBetterOverloadCandidate()
8577 Cand2.Function->getPrimaryTemplate(), in isBetterOverloadCandidate()
8582 Cand2.ExplicitCallArguments)) in isBetterOverloadCandidate()
8587 if (Cand1.Function && Cand2.Function && in isBetterOverloadCandidate()
8589 Cand2.Function->hasAttr<EnableIfAttr>())) in isBetterOverloadCandidate()
8590 return hasBetterEnableIfAttrs(S, Cand1.Function, Cand2.Function); in isBetterOverloadCandidate()
8593 Cand1.Function && Cand2.Function) { in isBetterOverloadCandidate()
8596 S.IdentifyCUDAPreference(Caller, Cand2.Function); in isBetterOverloadCandidate()
8601 bool HasPS2 = Cand2.Function != nullptr && in isBetterOverloadCandidate()
8602 functionHasPassObjectSizeParams(Cand2.Function); in isBetterOverloadCandidate()