Use "unsigned" instead of "int" for i to remove a "comparison between unsigned and signed" warning (potential integer overflow).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57201 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp
index d8f1b05..edc0a3d 100644
--- a/lib/Sema/SemaDeclCXX.cpp
+++ b/lib/Sema/SemaDeclCXX.cpp
@@ -564,7 +564,7 @@
   // If there is no declaration, there was an error parsing it.  Just ignore
   // the initializer.
   if (RealDecl == 0) {
-    for (int i=0; i != NumExprs; ++i)
+    for (unsigned i = 0; i != NumExprs; ++i)
       delete static_cast<Expr *>(ExprTys[i]);
     return;
   }