From e26dec68a1e03c80868a38344b06c990a5131e82 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 18 Feb 2008 04:19:38 +0000 Subject: [PATCH] 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 --- docs/LangRef.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 515f956ed00..af88237adc8 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).
sret
-
This indicates that the parameter specifies the address of a structure - that is the return value of the function in the source program.
+
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.
noalias
This indicates that the parameter does not alias any global or any other