From: Craig Topper Date: Sun, 30 Nov 2014 00:24:32 +0000 (+0000) Subject: Use an unsigned type because there seems to be no reason for it to be signed. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d45efb54677eee5f243de96523d32d54c2a171b2;p=oota-llvm.git Use an unsigned type because there seems to be no reason for it to be signed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222966 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/TableGen/TGParser.cpp b/lib/TableGen/TGParser.cpp index b6ed2e897c6..fbb4184e6b3 100644 --- a/lib/TableGen/TGParser.cpp +++ b/lib/TableGen/TGParser.cpp @@ -224,7 +224,7 @@ bool TGParser::AddSubMultiClass(MultiClass *CurMC, if (AddValue(CurRec, SubMultiClass.RefRange.Start, SMCVals[i])) return true; - int newDefStart = CurMC->DefPrototypes.size(); + unsigned newDefStart = CurMC->DefPrototypes.size(); // Add all of the defs in the subclass into the current multiclass. for (MultiClass::RecordVector::const_iterator i = SMC->DefPrototypes.begin(),