Skip to content

Commit 3845621

Browse files
committed
[Gardening] Clarified documentation.
1 parent dcc6344 commit 3845621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/SIL/MemAccessUtils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,10 +887,10 @@ namespace swift {
887887
/// For convenience, encapsulate and AccessStorage value along with its
888888
/// accessed base address.
889889
struct AccessStorageWithBase {
890-
/// Identical to AccessStorage::compute but preserves the access base.
890+
/// Identical to AccessStorage::computeInScope but walks through begin_access.
891891
static AccessStorageWithBase compute(SILValue sourceAddress);
892892

893-
/// Identical to AccessStorage::computeInScope but preserves the base.
893+
/// Identical to AccessStorage::compute but stops at begin_access
894894
static AccessStorageWithBase computeInScope(SILValue sourceAddress);
895895

896896
AccessStorage storage;

0 commit comments

Comments
 (0)