aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-02-18 04:19:38 +0000
committerDuncan Sands <baldrick@free.fr>2008-02-18 04:19:38 +0000
commit616cc034d25fd6f51fa9d7876dafcf7fb39babca (patch)
treebd7dc39a88ea7c2c2f746fe93f55316f651a185f
parentc4fc4cd925498b78ab0dda94aed7af6c61eb2907 (diff)
downloadexternal_llvm-616cc034d25fd6f51fa9d7876dafcf7fb39babca.zip
external_llvm-616cc034d25fd6f51fa9d7876dafcf7fb39babca.tar.gz
external_llvm-616cc034d25fd6f51fa9d7876dafcf7fb39babca.tar.bz2
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
-rw-r--r--docs/LangRef.html5
1 files changed, 3 insertions, 2 deletions
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 @@ 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