File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -535,6 +535,15 @@ initializers from its superclass. This implies that all designated initializers
535
535
overridden. This attribute is often printed alongside
536
536
` @_hasMissingDesignatedInitializers ` in this case.
537
537
538
+ ## ` @inline(__always) `
539
+
540
+ Forces the function to be inlined.
541
+
542
+ If it's not possible to always inline the function, e.g. if it's a self-
543
+ recursive function, the attribute is ignored.
544
+
545
+ This attribute has no effect in debug builds.
546
+
538
547
## ` @_noEagerMove `
539
548
540
549
When applied to a value, indicates that the value's lifetime is lexical, that
Original file line number Diff line number Diff line change @@ -1070,14 +1070,14 @@ The minimal OS-version where the function is available.
1070
1070
::
1071
1071
1072
1072
sil-function-attribute ::= '[' sil-function-inlining ']'
1073
- sil-function-inlining ::= 'never '
1073
+ sil-function-inlining ::= 'noinline '
1074
1074
1075
1075
The function is never inlined.
1076
1076
::
1077
1077
1078
- sil-function-inlining ::= 'always '
1078
+ sil-function-inlining ::= 'always_inline '
1079
1079
1080
- The function is always inlined, even in a `` Onone `` build .
1080
+ The function is always inlined.
1081
1081
::
1082
1082
1083
1083
sil-function-attribute ::= '[' sil-function-optimization ']'
You can’t perform that action at this time.
0 commit comments