File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1309,12 +1309,14 @@ Currently, only the following parameter attributes are defined:
13091309 structure that is the return value of the function in the source
13101310 program. This pointer must be guaranteed by the caller to be valid:
13111311 loads and stores to the structure may be assumed by the callee not
1312- to trap and to be properly aligned. This is not a valid attribute
1313- for return values.
1312+ to trap and to be properly aligned.
13141313
13151314 The sret type argument specifies the in memory type, which must be
13161315 the same as the pointee type of the argument.
13171316
1317+ A function that accepts an ``sret`` argument must return ``void``.
1318+ A return value may not be ``sret``.
1319+
13181320.. _attr_elementtype:
13191321
13201322``elementtype(<ty>)``
You can’t perform that action at this time.
0 commit comments