Lines Matching refs:Overloads
1227 /// name, this parameter is populated with the decls of the various overloads.
1233 const OverloadExpr *Overloads = nullptr;
1238 // Ignore overloads that are pointer-to-member constants.
1242 Overloads = FR.Expression;
1244 Overloads = dyn_cast<UnresolvedMemberExpr>(E.IgnoreParens());
1250 if (Overloads) {
1251 for (OverloadExpr::decls_iterator it = Overloads->decls_begin(),
1252 DeclsEnd = Overloads->decls_end(); it != DeclsEnd; ++it) {
1277 // member templates with defaults/deduction of template arguments, overloads
1319 /// \brief Give notes for a set of overloads.
1323 /// plausible overloads based on their return types; such guesses can be handed
1326 /// \param Overloads - The overloads to note.
1327 /// \param FinalNoteLoc - If we've suppressed printing some overloads due to
1328 /// -fshow-overloads=best, this is the location to attach to the note about too
1331 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads,
1335 for (UnresolvedSetImpl::iterator It = Overloads.begin(),
1336 DeclsEnd = Overloads.end(); It != DeclsEnd; ++It) {
1337 // FIXME: Magic number for max shown overloads stolen from
1355 const UnresolvedSetImpl &Overloads,
1358 return noteOverloads(S, Overloads, Loc);
1361 for (OverloadExpr::decls_iterator It = Overloads.begin(),
1362 DeclsEnd = Overloads.end(); It != DeclsEnd; ++It) {
1390 UnresolvedSet<4> Overloads;
1391 if (tryExprAsCall(*E.get(), ZeroArgCallTy, Overloads) &&
1404 notePlausibleOverloads(*this, Loc, Overloads, IsPlausibleResult);
1416 notePlausibleOverloads(*this, Loc, Overloads, IsPlausibleResult);