Lines Matching refs:Cand2

8505                                        const FunctionDecl *Cand2) {  in compareEnableIfAttrs()  argument
8508 bool Cand2Attr = Cand2->hasAttr<EnableIfAttr>(); in compareEnableIfAttrs()
8519 auto Cand2Attrs = getOrderedEnableIfAttrs(Cand2); in compareEnableIfAttrs()
8545 const OverloadCandidate &Cand2, in isBetterOverloadCandidate() argument
8550 if (!Cand2.Viable) in isBetterOverloadCandidate()
8562 if (Cand1.IgnoreObjectArgument || Cand2.IgnoreObjectArgument) in isBetterOverloadCandidate()
8570 assert(Cand2.NumConversions == NumArgs && "Overload candidate mismatch"); in isBetterOverloadCandidate()
8575 Cand2.Conversions[ArgIdx])) { in isBetterOverloadCandidate()
8602 if (UserDefinedConversion && Cand1.Function && Cand2.Function && in isBetterOverloadCandidate()
8604 isa<CXXConversionDecl>(Cand2.Function)) { in isBetterOverloadCandidate()
8610 compareConversionFunctions(S, Cand1.Function, Cand2.Function); in isBetterOverloadCandidate()
8614 Cand2.FinalConversion); in isBetterOverloadCandidate()
8628 bool Cand2IsSpecialization = Cand2.Function && in isBetterOverloadCandidate()
8629 Cand2.Function->getPrimaryTemplate(); in isBetterOverloadCandidate()
8640 Cand2.Function->getPrimaryTemplate(), in isBetterOverloadCandidate()
8645 Cand2.ExplicitCallArguments)) in isBetterOverloadCandidate()
8654 dyn_cast_or_null<ConstructorUsingShadowDecl>(Cand2.FoundDecl.getDecl()); in isBetterOverloadCandidate()
8660 auto *Cand2Class = cast<CXXRecordDecl>(Cand2.Function->getDeclContext()); in isBetterOverloadCandidate()
8669 if (Cand1.Function && Cand2.Function) { in isBetterOverloadCandidate()
8670 Comparison Cmp = compareEnableIfAttrs(S, Cand1.Function, Cand2.Function); in isBetterOverloadCandidate()
8675 if (S.getLangOpts().CUDA && Cand1.Function && Cand2.Function) { in isBetterOverloadCandidate()
8678 S.IdentifyCUDAPreference(Caller, Cand2.Function); in isBetterOverloadCandidate()
8683 bool HasPS2 = Cand2.Function != nullptr && in isBetterOverloadCandidate()
8684 functionHasPassObjectSizeParams(Cand2.Function); in isBetterOverloadCandidate()