Skip to content

Commit 4b190da

Browse files
authored
Update llvm/docs/Coroutines.rst
1 parent 21fc560 commit 4b190da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/Coroutines.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ Some parameter attributes, used to communicate additional information about the
816816

817817
ByVal
818818
-----
819-
A ByVal parameter on an argument indicates that the pointer parameter should really be passed by value to the function.
819+
A ByVal parameter on an argument indicates that the pointee should be treated as being passed by value to the function.
820820
Prior to the coroutine transforms loads and stores to/from the pointer are generated where the value is needed.
821821
Consequently, a ByVal argument is treated much like an alloca.
822822
Space is allocated for it on the coroutine frame and the uses of the argument pointer are replaced with a pointer to the coroutine frame.

0 commit comments

Comments
 (0)