diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-11-30 00:24:32 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-11-30 00:24:32 +0000 |
commit | a4ea4b0983e1ba9c884c2b962fb9eaaa7ac7d0ab (patch) | |
tree | 315b7413ed8d0d03bd59cf824fd8fba30a74466b /llvm/lib/TableGen/TGParser.cpp | |
parent | 66ac49302f9f45df092a43debd9598997bdd9ef5 (diff) | |
download | llvm-a4ea4b0983e1ba9c884c2b962fb9eaaa7ac7d0ab.zip llvm-a4ea4b0983e1ba9c884c2b962fb9eaaa7ac7d0ab.tar.gz llvm-a4ea4b0983e1ba9c884c2b962fb9eaaa7ac7d0ab.tar.bz2 |
Use an unsigned type because there seems to be no reason for it to be signed.
llvm-svn: 222966
Diffstat (limited to 'llvm/lib/TableGen/TGParser.cpp')
-rw-r--r-- | llvm/lib/TableGen/TGParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp index b6ed2e8..fbb4184 100644 --- a/llvm/lib/TableGen/TGParser.cpp +++ b/llvm/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(), |