Skip to content

Commit 534a078

Browse files
Merge pull request #67305 from nate-chandler/gardening/20230714/1
[Gardening] Clarified move_value comment.
2 parents aad2b6e + 5991dc5 commit 534a078

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/SIL/IR/OperandOwnership.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ OPERAND_OWNERSHIP(DestroyingConsume, DestroyValue)
294294
OPERAND_OWNERSHIP(DestroyingConsume, EndLifetime)
295295
OPERAND_OWNERSHIP(DestroyingConsume, BeginCOWMutation)
296296
OPERAND_OWNERSHIP(DestroyingConsume, EndCOWMutation)
297-
298-
// TODO: Should this be a forwarding consume.
297+
// The move_value instruction creates a distinct lifetime.
299298
OPERAND_OWNERSHIP(DestroyingConsume, MoveValue)
300299

301300
// Instructions that move an owned value.

0 commit comments

Comments
 (0)