Skip to content

Commit 55673e1

Browse files
committed
references are noalias
1 parent d4bdada commit 55673e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

text/0000-noalias.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ If `x` and `y` are different noalias pointers and `a` and `b` are two pointers
7474
`x` and `y` respectively, then memory access via `a` and `b` does not
7575
alias.
7676

77+
If `x` is a noalias pointer, `y` is a reference, and `a` and `b` are two
78+
pointers based on `x` and `y` respectively, then memory access via `a` and `b`
79+
does not alias.
80+
7781
If `x` is a noalias pointer, `a` is based on `x`, and `b` is any pointer, then
7882
memory access via `a` and `b` does not alias unless `b` is based on `x`.
7983

0 commit comments

Comments
 (0)