File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -5837,11 +5837,14 @@ provided it declares the right formal arguments.
5837
5837
5838
5838
In most respects, this is similar to the ``swiftcall`` attribute, except for
5839
5839
the following:
5840
+
5840
5841
- A parameter may be marked ``swift_async_context``, ``swift_context``
5841
5842
or ``swift_indirect_result`` (with the same restrictions on parameter
5842
5843
ordering as ``swiftcall``) but the parameter attribute
5843
5844
``swift_error_result`` is not permitted.
5845
+
5844
5846
- A ``swiftasynccall`` function must have return type ``void``.
5847
+
5845
5848
- Within a ``swiftasynccall`` function, a call to a ``swiftasynccall``
5846
5849
function that is the immediate operand of a ``return`` statement is
5847
5850
guaranteed to be performed as a tail call. This syntax is allowed even
You can’t perform that action at this time.
0 commit comments