Skip to content

Commit a8fc28e

Browse files
Alexander BatashevAaronBallman
andauthored
Fix the Clang documentation builder; NFC. (#4117)
It was broken three days ago by the changes in D95561. Co-authored-by: Aaron Ballman <[email protected]>
1 parent f71a1d5 commit a8fc28e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5837,11 +5837,14 @@ provided it declares the right formal arguments.
58375837

58385838
In most respects, this is similar to the ``swiftcall`` attribute, except for
58395839
the following:
5840+
58405841
- A parameter may be marked ``swift_async_context``, ``swift_context``
58415842
or ``swift_indirect_result`` (with the same restrictions on parameter
58425843
ordering as ``swiftcall``) but the parameter attribute
58435844
``swift_error_result`` is not permitted.
5845+
58445846
- A ``swiftasynccall`` function must have return type ``void``.
5847+
58455848
- Within a ``swiftasynccall`` function, a call to a ``swiftasynccall``
58465849
function that is the immediate operand of a ``return`` statement is
58475850
guaranteed to be performed as a tail call. This syntax is allowed even

0 commit comments

Comments
 (0)