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
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 515f956..af88237 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -823,8 +823,9 @@
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