Silence sign compare warning. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2015-03-29 20:49:03 +00:00
parent 155328790b
commit 19d058836a

View File

@ -168,7 +168,8 @@ bool InlineAsm::ConstraintInfo::Parse(StringRef Str,
scInfo.MatchingInput = ConstraintsSoFar.size(); scInfo.MatchingInput = ConstraintsSoFar.size();
} else { } else {
if (ConstraintsSoFar[N].hasMatchingInput() && if (ConstraintsSoFar[N].hasMatchingInput() &&
ConstraintsSoFar[N].MatchingInput != ConstraintsSoFar.size()) (size_t)ConstraintsSoFar[N].MatchingInput !=
ConstraintsSoFar.size())
return true; return true;
// Note that operand #n has a matching input. // Note that operand #n has a matching input.
ConstraintsSoFar[N].MatchingInput = ConstraintsSoFar.size(); ConstraintsSoFar[N].MatchingInput = ConstraintsSoFar.size();