mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
[TableGen] Use 'size_t' instead of 'unsigned' to better match the argument types of addAsmOperand. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247527 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29f50e9783
commit
9bd78892b0
@ -847,9 +847,9 @@ void MatchableInfo::addAsmOperand(size_t Start, size_t End) {
|
||||
/// tokenizeAsmString - Tokenize a simplified assembly string.
|
||||
void MatchableInfo::tokenizeAsmString(const AsmMatcherInfo &Info) {
|
||||
StringRef String = AsmString;
|
||||
unsigned Prev = 0;
|
||||
size_t Prev = 0;
|
||||
bool InTok = true;
|
||||
for (unsigned i = 0, e = String.size(); i != e; ++i) {
|
||||
for (size_t i = 0, e = String.size(); i != e; ++i) {
|
||||
switch (String[i]) {
|
||||
case '[':
|
||||
case ']':
|
||||
|
Loading…
Reference in New Issue
Block a user