Skip to content

Commit 8c8b24f

Browse files
committed
[Gardening] Tweaked comment.
1 parent 7a1829f commit 8c8b24f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/SILOptimizer/Utils/CanonicalizeBorrowScope.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,14 @@ SILValue CanonicalizeBorrowScope::findDefInBorrowScope(SILValue value) {
200200
return value;
201201
}
202202

203-
/// Visit all extended uses within the borrow scope, looking through copies.
204-
/// Call visitUse for uses which could potentially be outside the borrow scope.
205-
/// Call visitForwardingUse for hoistable forwarding operations which could
206-
/// potentially be inside the borrow scope.
203+
/// Visit all extended uses within the borrow scope, looking through copies and
204+
/// moves. Call visitUse for uses which could potentially be outside the borrow
205+
/// scope. Call visitForwardingUse for hoistable forwarding operations which
206+
/// could potentially be inside the borrow scope.
207207
///
208208
/// The visitor may or may not be able to determine which uses are outside the
209209
/// scope, but it can filter uses that are definitely within the scope. For
210-
/// example, guaranteed uses and uses in live-out blocks must be both be within
210+
/// example, guaranteed uses and uses in live-out blocks must both be within
211211
/// the scope.
212212
///
213213
/// This def-use traversal is similar to findExtendedTransitiveGuaranteedUses(),

0 commit comments

Comments
 (0)