Skip to content

Commit 3080fb4

Browse files
committed
fix doc build error
1 parent 0ddf238 commit 3080fb4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/SIL.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ Calling Convention
11941194
This section describes how Swift functions are emitted in SIL.
11951195

11961196
Swift Calling Convention @convention(swift)
1197-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1197+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11981198

11991199
The Swift calling convention is the one used by default for native Swift
12001200
functions.
@@ -1395,7 +1395,7 @@ gets lowered to SIL as::
13951395
}
13961396

13971397
Swift Method Calling Convention @convention(method)
1398-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1398+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13991399

14001400
The method calling convention is currently identical to the freestanding
14011401
function convention. Methods are considered to be curried functions, taking
@@ -1410,7 +1410,7 @@ passed last::
14101410
sil @Foo_method_1 : $((x : Int), @inout Foo) -> Int { ... }
14111411

14121412
Witness Method Calling Convention @convention(witness_method)
1413-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1413+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14141414

14151415
The witness method calling convention is used by protocol witness methods in
14161416
`witness tables`_. It is identical to the ``method`` calling convention
@@ -1422,7 +1422,7 @@ the ``Self``-related metadata for a witness must be passed in a maximally
14221422
abstracted manner.
14231423

14241424
C Calling Convention @convention(c)
1425-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1425+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14261426

14271427
In Swift's C module importer, C types are always mapped to Swift types
14281428
considered trivial by SIL. SIL does not concern itself with platform
@@ -1433,7 +1433,7 @@ platform calling convention.
14331433
SIL (and therefore Swift) cannot currently invoke variadic C functions.
14341434

14351435
Objective-C Calling Convention @convention(objc_method)
1436-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1436+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14371437

14381438
Reference Counts
14391439
````````````````

0 commit comments

Comments
 (0)