reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaOverload.cpp
13378     Method = cast<CXXMethodDecl>(MemExpr->getMemberDecl());
13416       } else if ((Method = dyn_cast<CXXMethodDecl>(Func))) {
13422         AddMethodCandidate(Method, I.getPair(), ActingDC, ObjectType,
13441       Method = cast<CXXMethodDecl>(Best->Function);
13452       if (Method != FoundDecl.getDecl() &&
13453                       DiagnoseUseOfDecl(Method, UnresExpr->getNameLoc()))
13486     MemExprE = FixOverloadedFunctionReference(MemExprE, FoundDecl, Method);
13490     if (Method->isStatic()) {
13491       return BuildResolvedCallExpr(MemExprE, Method, LParenLoc, Args,
13498   QualType ResultType = Method->getReturnType();
13502   assert(Method && "Member call to something that isn't a method?");
13503   const auto *Proto = Method->getType()->getAs<FunctionProtoType>();
13509   if (CheckCallReturnType(Method->getReturnType(), MemExpr->getMemberLoc(),
13510                           TheCall, Method))
13516   if (!Method->isStatic()) {
13519                                           FoundDecl, Method);
13526   if (ConvertArgumentsForCall(TheCall, MemExpr, Method, Proto, Args,
13530   DiagnoseSentinelCalls(Method, LParenLoc, Args);
13532   if (CheckFunctionCall(Method, TheCall, Proto))
13539     if (const EnableIfAttr *Attr = CheckEnableIf(Method, Args, true)) {
13542           << Method << Method->getSourceRange();
13542           << Method << Method->getSourceRange();
13543       Diag(Method->getLocation(),