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
This commit is contained in:
Duncan Sands 2008-02-18 04:19:38 +00:00
parent 117bbd37b8
commit e26dec68a1

View File

@ -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