diff options
author | Duncan Sands <baldrick@free.fr> | 2008-02-18 04:19:38 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-02-18 04:19:38 +0000 |
commit | e26dec68a1e03c80868a38344b06c990a5131e82 (patch) | |
tree | bd7dc39a88ea7c2c2f746fe93f55316f651a185f /docs | |
parent | 117bbd37b8cf4f58d8b7591ca97832d560ed2ee7 (diff) |
Clarify that 'sret' only applies to pointers, and
only applies to the first parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 515f956ed0..af88237adc 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -823,8 +823,9 @@ declare i32 @atoi(i8*) nounwind readonly value, but is also valid on scalars (even though this is silly).</dd> <dt><tt>sret</tt></dt> - <dd>This indicates that the parameter specifies the address of a structure - that is the return value of the function in the source program.</dd> + <dd>This indicates that the pointer parameter specifies the address of a + structure that is the return value of the function in the source program. + May only be applied to the first parameter.</dd> <dt><tt>noalias</tt></dt> <dd>This indicates that the parameter does not alias any global or any other |