Lines Matching refs:Cand1

8449 static bool hasBetterEnableIfAttrs(Sema &S, const FunctionDecl *Cand1,  in hasBetterEnableIfAttrs()  argument
8455 auto Cand1Attrs = getOrderedEnableIfAttrs(Cand1); in hasBetterEnableIfAttrs()
8481 bool clang::isBetterOverloadCandidate(Sema &S, const OverloadCandidate &Cand1, in isBetterOverloadCandidate() argument
8488 return Cand1.Viable; in isBetterOverloadCandidate()
8489 else if (!Cand1.Viable) in isBetterOverloadCandidate()
8499 if (Cand1.IgnoreObjectArgument || Cand2.IgnoreObjectArgument) in isBetterOverloadCandidate()
8506 unsigned NumArgs = Cand1.NumConversions; in isBetterOverloadCandidate()
8511 Cand1.Conversions[ArgIdx], in isBetterOverloadCandidate()
8539 if (UserDefinedConversion && Cand1.Function && Cand2.Function && in isBetterOverloadCandidate()
8540 isa<CXXConversionDecl>(Cand1.Function) && in isBetterOverloadCandidate()
8547 compareConversionFunctions(S, Cand1.Function, Cand2.Function); in isBetterOverloadCandidate()
8550 Cand1.FinalConversion, in isBetterOverloadCandidate()
8563 bool Cand1IsSpecialization = Cand1.Function && in isBetterOverloadCandidate()
8564 Cand1.Function->getPrimaryTemplate(); in isBetterOverloadCandidate()
8576 = S.getMoreSpecializedTemplate(Cand1.Function->getPrimaryTemplate(), in isBetterOverloadCandidate()
8579 isa<CXXConversionDecl>(Cand1.Function)? TPOC_Conversion in isBetterOverloadCandidate()
8581 Cand1.ExplicitCallArguments, in isBetterOverloadCandidate()
8583 return BetterTemplate == Cand1.Function->getPrimaryTemplate(); in isBetterOverloadCandidate()
8587 if (Cand1.Function && Cand2.Function && in isBetterOverloadCandidate()
8588 (Cand1.Function->hasAttr<EnableIfAttr>() || in isBetterOverloadCandidate()
8590 return hasBetterEnableIfAttrs(S, Cand1.Function, Cand2.Function); in isBetterOverloadCandidate()
8593 Cand1.Function && Cand2.Function) { in isBetterOverloadCandidate()
8595 return S.IdentifyCUDAPreference(Caller, Cand1.Function) > in isBetterOverloadCandidate()
8599 bool HasPS1 = Cand1.Function != nullptr && in isBetterOverloadCandidate()
8600 functionHasPassObjectSizeParams(Cand1.Function); in isBetterOverloadCandidate()