Lines Matching refs:OvlExpr
10332 OverloadExpr *OvlExpr = Ovl.Expression; in NoteAllOverloadCandidates() local
10334 for (UnresolvedSetIterator I = OvlExpr->decls_begin(), in NoteAllOverloadCandidates()
10335 IEnd = OvlExpr->decls_end(); in NoteAllOverloadCandidates()
11877 OverloadExpr *OvlExpr; member in __anone93f13811b11::AddressOfFunctionResolver
11893 OvlExpr(OvlExprInfo.Expression), in AddressOfFunctionResolver()
11894 FailedCandidates(OvlExpr->getNameLoc(), /*ForTakingAddress=*/true) { in AddressOfFunctionResolver()
11898 if (UnresolvedMemberExpr *UME = dyn_cast<UnresolvedMemberExpr>(OvlExpr)) in AddressOfFunctionResolver()
11902 } else if (OvlExpr->hasExplicitTemplateArgs()) { in AddressOfFunctionResolver()
11905 OvlExpr, false, &dap)) { in AddressOfFunctionResolver()
11924 if (OvlExpr->hasExplicitTemplateArgs()) in AddressOfFunctionResolver()
11925 OvlExpr->copyTemplateArgumentsInto(OvlExplicitTemplateArgs); in AddressOfFunctionResolver()
12101 for (UnresolvedSetIterator I = OvlExpr->decls_begin(), in FindAllFunctionsThatMatchTargetTypeExactly()
12102 E = OvlExpr->decls_end(); in FindAllFunctionsThatMatchTargetTypeExactly()
12119 else if (!OvlExpr->hasExplicitTemplateArgs() && in FindAllFunctionsThatMatchTargetTypeExactly()
12183 S.Diag(OvlExpr->getBeginLoc(), diag::err_addr_ovl_no_viable) in ComplainNoMatchesFound()
12184 << OvlExpr->getName() << TargetFunctionType in ComplainNoMatchesFound()
12185 << OvlExpr->getSourceRange(); in ComplainNoMatchesFound()
12187 S.NoteAllOverloadCandidates(OvlExpr, TargetFunctionType, in ComplainNoMatchesFound()
12193 for (UnresolvedSetIterator I = OvlExpr->decls_begin(), in ComplainNoMatchesFound()
12194 IEnd = OvlExpr->decls_end(); in ComplainNoMatchesFound()
12201 FailedCandidates.NoteCandidates(S, OvlExpr->getBeginLoc()); in ComplainNoMatchesFound()
12214 S.Diag(OvlExpr->getNameLoc(), diag::err_addr_ovl_no_qualifier) in ComplainIsInvalidFormOfPointerToMemberFunction()
12215 << TargetType << OvlExpr->getSourceRange(); in ComplainIsInvalidFormOfPointerToMemberFunction()
12223 S.Diag(OvlExpr->getBeginLoc(), in ComplainIsStaticMemberFunctionFromBoundPointer()
12225 << OvlExpr->getSourceRange(); in ComplainIsStaticMemberFunctionFromBoundPointer()
12229 S.Diag(OvlExpr->getBeginLoc(), diag::err_addr_ovl_not_func_ptrref) in ComplainOfInvalidConversion()
12230 << OvlExpr->getName() << TargetType; in ComplainOfInvalidConversion()
12235 S.Diag(OvlExpr->getBeginLoc(), diag::err_addr_ovl_ambiguous) in ComplainMultipleMatchesFound()
12236 << OvlExpr->getName() << OvlExpr->getSourceRange(); in ComplainMultipleMatchesFound()
12237 S.NoteAllOverloadCandidates(OvlExpr, TargetFunctionType, in ComplainMultipleMatchesFound()
12241 bool hadMultipleCandidates() const { return (OvlExpr->getNumDecls() > 1); } in hadMultipleCandidates()