Home | History | Annotate | Download | only in Sema

Lines Matching full:overloads

1296 ///  name, this parameter is populated with the decls of the various overloads.
1302 const OverloadExpr *Overloads = nullptr;
1307 // Ignore overloads that are pointer-to-member constants.
1311 Overloads = FR.Expression;
1313 Overloads = dyn_cast<UnresolvedMemberExpr>(E.IgnoreParens());
1319 if (Overloads) {
1320 for (OverloadExpr::decls_iterator it = Overloads->decls_begin(),
1321 DeclsEnd = Overloads->decls_end(); it != DeclsEnd; ++it) {
1346 // member templates with defaults/deduction of template arguments, overloads
1388 /// \brief Give notes for a set of overloads.
1392 /// plausible overloads based on their return types; such guesses can be handed
1395 /// \param Overloads - The overloads to note.
1396 /// \param FinalNoteLoc - If we've suppressed printing some overloads due to
1397 /// -fshow-overloads=best, this is the location to attach to the note about too
1400 static void noteOverloads(Sema &S, const UnresolvedSetImpl &Overloads,
1404 for (UnresolvedSetImpl::iterator It = Overloads.begin(),
1405 DeclsEnd = Overloads.end(); It != DeclsEnd; ++It) {
1406 // FIXME: Magic number for max shown overloads stolen from
1424 const UnresolvedSetImpl &Overloads,
1427 return noteOverloads(S, Overloads, Loc);
1430 for (OverloadExpr::decls_iterator It = Overloads.begin(),
1431 DeclsEnd = Overloads.end(); It != DeclsEnd; ++It) {
1459 UnresolvedSet<4> Overloads;
1460 if (tryExprAsCall(*E.get(), ZeroArgCallTy, Overloads) &&
1473 notePlausibleOverloads(*this, Loc, Overloads, IsPlausibleResult);
1485 notePlausibleOverloads(*this, Loc, Overloads, IsPlausibleResult);