forked from OSchip/llvm-project
[TableGen] Use 'size_t' instead of 'unsigned' to better match the argument types of addAsmOperand. NFC
llvm-svn: 247527
This commit is contained in:
parent
f8f86ab176
commit
e461214fe1
|
@ -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