[cfe-commits] r149059 - /cfe/trunk/lib/AST/ExprConstant.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Thu Jan 26 01:37:37 PST 2012
Author: chapuni
Date: Thu Jan 26 03:37:36 2012
New Revision: 149059
URL: http://llvm.org/viewvc/llvm-project?rev=149059&view=rev
Log:
AST/ExprConstant.cpp: Silence a warning on ms cl.exe. "bool" does not prefer to be compared to integer.
Modified:
cfe/trunk/lib/AST/ExprConstant.cpp
Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=149059&r1=149058&r2=149059&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Thu Jan 26 03:37:36 2012
@@ -503,7 +503,7 @@
for (FunctionDecl::param_const_iterator I = Frame->Callee->param_begin(),
E = Frame->Callee->param_end(); I != E; ++I, ++ArgIndex) {
- if (ArgIndex > IsMemberCall)
+ if (ArgIndex > (unsigned)IsMemberCall)
Out << ", ";
const ParmVarDecl *Param = *I;
More information about the cfe-commits
mailing list