Skip to content

Commit

Permalink
references are noalias
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Dec 16, 2015
1 parent d4bdada commit 55673e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions text/0000-noalias.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ If `x` and `y` are different noalias pointers and `a` and `b` are two pointers
`x` and `y` respectively, then memory access via `a` and `b` does not
alias.

If `x` is a noalias pointer, `y` is a reference, and `a` and `b` are two
pointers based on `x` and `y` respectively, then memory access via `a` and `b`
does not alias.

If `x` is a noalias pointer, `a` is based on `x`, and `b` is any pointer, then
memory access via `a` and `b` does not alias unless `b` is based on `x`.

Expand Down

0 comments on commit 55673e1

Please sign in to comment.