forked from OSchip/llvm-project
parent
6be1a4e832
commit
6d886b056a
|
@ -4330,7 +4330,7 @@ Sema::BuildCallToMemberFunction(Scope *S, Expr *MemExprE,
|
|||
Func = Ovl->function_begin(),
|
||||
FuncEnd = Ovl->function_end();
|
||||
Func != FuncEnd; ++Func) {
|
||||
if (Method = dyn_cast<CXXMethodDecl>(*Func))
|
||||
if ((Method = dyn_cast<CXXMethodDecl>(*Func)))
|
||||
AddMethodCandidate(Method, ObjectArg, Args, NumArgs, CandidateSet,
|
||||
/*SuppressUserConversions=*/false);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue