@@ -491,7 +491,7 @@ bool SILValueOwnershipChecker::checkFunctionArgWithoutLifetimeEndingUses(
491
491
return true ;
492
492
493
493
return !errorBuilder.handleMalformedSIL ([&] {
494
- llvm::errs () << " Owned function parameter without life ending uses!\n "
494
+ llvm::errs () << " Owned function parameter without lifetime ending uses!\n "
495
495
<< " Value: " << *arg << ' \n ' ;
496
496
});
497
497
}
@@ -510,7 +510,7 @@ bool SILValueOwnershipChecker::checkYieldWithoutLifetimeEndingUses(
510
510
return true ;
511
511
}
512
512
return !errorBuilder.handleMalformedSIL ([&] {
513
- llvm::errs () << " Owned yield without life ending uses!\n "
513
+ llvm::errs () << " Owned yield without lifetime ending uses!\n "
514
514
<< " Value: " << *yield << ' \n ' ;
515
515
});
516
516
case OwnershipKind::Guaranteed:
@@ -607,7 +607,7 @@ bool SILValueOwnershipChecker::isGuaranteedFunctionArgWithLifetimeEndingUses(
607
607
return true ;
608
608
609
609
return errorBuilder.handleMalformedSIL ([&] {
610
- llvm::errs () << " Guaranteed function parameter with life ending uses!\n "
610
+ llvm::errs () << " Guaranteed function parameter with lifetime ending uses!\n "
611
611
<< " Value: " << *arg;
612
612
for (const auto *use : lifetimeEndingUsers) {
613
613
llvm::errs () << " Lifetime Ending User: " << *use->getUser ();
@@ -620,7 +620,7 @@ bool SILValueOwnershipChecker::isSubobjectProjectionWithLifetimeEndingUses(
620
620
SILValue value,
621
621
const llvm::SmallVectorImpl<Operand *> &lifetimeEndingUsers) const {
622
622
return errorBuilder.handleMalformedSIL ([&] {
623
- llvm::errs () << " Subobject projection with life ending uses!\n "
623
+ llvm::errs () << " Subobject projection with lifetime ending uses!\n "
624
624
<< " Value: " << *value;
625
625
for (const auto *use : lifetimeEndingUsers) {
626
626
llvm::errs () << " Lifetime Ending User: " << *use->getUser ();
0 commit comments