Use an unsigned type because there seems to be no reason for it to be signed.

llvm-svn: 222966
This commit is contained in:
Craig Topper 2014-11-30 00:24:32 +00:00
parent 66ac49302f
commit a4ea4b0983
1 changed files with 1 additions and 1 deletions

View File

@ -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(),