[cfe-commits] r79589 - /cfe/trunk/lib/Sema/SemaOverload.cpp
Daniel Dunbar
daniel at zuster.org
Thu Aug 20 19:43:05 PDT 2009
Author: ddunbar
Date: Thu Aug 20 21:43:05 2009
New Revision: 79589
URL: http://llvm.org/viewvc/llvm-project?rev=79589&view=rev
Log:
gcc told me to add these.
Modified:
cfe/trunk/lib/Sema/SemaOverload.cpp
Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=79589&r1=79588&r2=79589&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Thu Aug 20 21:43:05 2009
@@ -4330,7 +4330,7 @@
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
More information about the cfe-commits
mailing list