Rename getFieldNo() to getFieldIndex().

Do I really need to justify this?
This commit is contained in:
Andrew Trick
2020-09-24 22:40:48 -07:00
parent 28294725d4
commit 5ae231eaab
38 changed files with 83 additions and 84 deletions

View File

@@ -136,7 +136,7 @@ IsZeroKind swift::isZeroValue(SILValue Value) {
if (auto *T = dyn_cast<TupleExtractInst>(Value)) {
// Make sure we are extracting the number value and not
// the overflow flag.
if (T->getFieldNo() != 0)
if (T->getFieldIndex() != 0)
return IsZeroKind::Unknown;
auto *BI = dyn_cast<BuiltinInst>(T->getOperand());