gcc told me to add these.

llvm-svn: 79589
This commit is contained in:
Daniel Dunbar 2009-08-21 02:43:05 +00:00
parent 6be1a4e832
commit 6d886b056a
1 changed files with 1 additions and 1 deletions

View File

@ -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