projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1fa859
)
Use an unsigned type because there seems to be no reason for it to be signed.
author
Craig Topper
<craig.topper@gmail.com>
Sun, 30 Nov 2014 00:24:32 +0000
(
00:24
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 30 Nov 2014 00:24:32 +0000
(
00:24
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222966
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/TGParser.cpp
patch
|
blob
|
history
diff --git
a/lib/TableGen/TGParser.cpp
b/lib/TableGen/TGParser.cpp
index b6ed2e897c6de3cbd14585ecbb0cfb3066314cf7..fbb4184e6b3fdfe449073badb3cfb7faf2216d7f 100644
(file)
--- 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(),