diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-01-26 09:37:36 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-01-26 09:37:36 +0000 |
commit | 5fe31228c883040cf016cfc71ad4bfeba462602e (patch) | |
tree | 666c7fc71551f9d2e3053a7a69a666c463e1f5d0 /lib/AST/ExprConstant.cpp | |
parent | 13663926db6e62c0ed5203d8ec4e543b2c190f0f (diff) |
AST/ExprConstant.cpp: Silence a warning on ms cl.exe. "bool" does not prefer to be compared to integer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r-- | lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index 6a292c3925..63d01deb48 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -503,7 +503,7 @@ static void describeCall(CallStackFrame *Frame, llvm::raw_ostream &Out) { 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; |