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 | fa4b673eac64c873cd02aab12ae7c1fdc641af69 (patch) | |
| tree | 3effad6381c0bbb6f5448781ad3ce8353df7e5cf /llvm/docs/LangRef.html | |
| parent | 6110128ed5a038221bd70a87ad263bff900ef6be (diff) | |
| download | bcm5719-llvm-fa4b673eac64c873cd02aab12ae7c1fdc641af69.tar.gz bcm5719-llvm-fa4b673eac64c873cd02aab12ae7c1fdc641af69.zip | |
Clarify that 'sret' only applies to pointers, and
only applies to the first parameter.
llvm-svn: 47256
Diffstat (limited to 'llvm/docs/LangRef.html')
| -rw-r--r-- | llvm/docs/LangRef.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 515f956ed00..af88237adc8 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/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 |

