Skip to content

Commit 15fef68

Browse files
committed
BorrowUtils: add a comment
1 parent d0ac094 commit 15fef68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SwiftCompilerSources/Sources/Optimizer/Utilities/BorrowUtils.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ enum BeginBorrowValue {
381381
/// or introduces a borrow scope, then `value` is the single
382382
/// introducer for itself.
383383
///
384+
/// If `value` is an address or any trivial type, then it has no introducers.
385+
///
384386
/// Example: // introducers:
385387
/// // ~~~~~~~~~~~~
386388
/// bb0(%0 : @owned $Class, // %0

0 commit comments

Comments
 (0)