Author: baldrick Date: Sun Feb 17 22:19:38 2008 New Revision: 47256 URL: http://llvm.org/viewvc/llvm-project?rev=47256&view=rev Log: Clarify that 'sret' only applies to pointers, and only applies to the first parameter.
Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=47256&r1=47255&r2=47256&view=diff ============================================================================== --- llvm/trunk/docs/LangRef.html (original) +++ llvm/trunk/docs/LangRef.html Sun Feb 17 22:19:38 2008 @@ -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 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits