Skip to content

Commit 7c11a7c

Browse files
committed
Generate code for the previous commit
1 parent 00c5e73 commit 7c11a7c

File tree

6 files changed

+4
-42
lines changed

6 files changed

+4
-42
lines changed

Sources/SwiftParser/generated/ExperimentalFeatures.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,9 @@ extension Parser.ExperimentalFeatures {
3636
/// Whether to enable the parsing of NonEscableTypes.
3737
public static let nonescapableTypes = Self (rawValue: 1 << 3)
3838

39-
/// Whether to enable the parsing of TransferringArgsAndResults.
40-
public static let transferringArgsAndResults = Self (rawValue: 1 << 4)
41-
4239
/// Whether to enable the parsing of trailing comma.
43-
public static let trailingComma = Self (rawValue: 1 << 5)
40+
public static let trailingComma = Self (rawValue: 1 << 4)
4441

4542
/// Whether to enable the parsing of SendingArgsAndResults.
46-
public static let sendingArgsAndResults = Self (rawValue: 1 << 6)
43+
public static let sendingArgsAndResults = Self (rawValue: 1 << 5)
4744
}

Sources/SwiftParser/generated/Parser+TokenSpecSet.swift

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -804,10 +804,6 @@ extension DeclModifierSyntax {
804804
case reasync
805805
case required
806806
case `static`
807-
#if compiler(>=5.8)
808-
@_spi(ExperimentalLanguageFeatures)
809-
#endif
810-
case transferring
811807
case unowned
812808
case weak
813809
#if compiler(>=5.8)
@@ -883,8 +879,6 @@ extension DeclModifierSyntax {
883879
self = .required
884880
case TokenSpec(.static):
885881
self = .static
886-
case TokenSpec(.transferring) where experimentalFeatures.contains(.transferringArgsAndResults):
887-
self = .transferring
888882
case TokenSpec(.unowned):
889883
self = .unowned
890884
case TokenSpec(.weak):
@@ -964,8 +958,6 @@ extension DeclModifierSyntax {
964958
self = .required
965959
case TokenSpec(.static):
966960
self = .static
967-
case TokenSpec(.transferring):
968-
self = .transferring
969961
case TokenSpec(.unowned):
970962
self = .unowned
971963
case TokenSpec(.weak):
@@ -1045,8 +1037,6 @@ extension DeclModifierSyntax {
10451037
return .keyword(.required)
10461038
case .static:
10471039
return .keyword(.static)
1048-
case .transferring:
1049-
return .keyword(.transferring)
10501040
case .unowned:
10511041
return .keyword(.unowned)
10521042
case .weak:
@@ -1128,8 +1118,6 @@ extension DeclModifierSyntax {
11281118
return .keyword(.required)
11291119
case .static:
11301120
return .keyword(.static)
1131-
case .transferring:
1132-
return .keyword(.transferring)
11331121
case .unowned:
11341122
return .keyword(.unowned)
11351123
case .weak:
@@ -3342,10 +3330,6 @@ extension SimpleTypeSpecifierSyntax {
33423330
#if compiler(>=5.8)
33433331
@_spi(ExperimentalLanguageFeatures)
33443332
#endif
3345-
case transferring
3346-
#if compiler(>=5.8)
3347-
@_spi(ExperimentalLanguageFeatures)
3348-
#endif
33493333
case sending
33503334

33513335
init?(lexeme: Lexer.Lexeme, experimentalFeatures: Parser.ExperimentalFeatures) {
@@ -3364,8 +3348,6 @@ extension SimpleTypeSpecifierSyntax {
33643348
self = .borrowing
33653349
case TokenSpec(.consuming):
33663350
self = .consuming
3367-
case TokenSpec(.transferring) where experimentalFeatures.contains(.transferringArgsAndResults):
3368-
self = .transferring
33693351
case TokenSpec(.sending) where experimentalFeatures.contains(.sendingArgsAndResults):
33703352
self = .sending
33713353
default:
@@ -3389,8 +3371,6 @@ extension SimpleTypeSpecifierSyntax {
33893371
self = .borrowing
33903372
case TokenSpec(.consuming):
33913373
self = .consuming
3392-
case TokenSpec(.transferring):
3393-
self = .transferring
33943374
case TokenSpec(.sending):
33953375
self = .sending
33963376
default:
@@ -3414,8 +3394,6 @@ extension SimpleTypeSpecifierSyntax {
34143394
return .keyword(.borrowing)
34153395
case .consuming:
34163396
return .keyword(.consuming)
3417-
case .transferring:
3418-
return .keyword(.transferring)
34193397
case .sending:
34203398
return .keyword(.sending)
34213399
}
@@ -3441,8 +3419,6 @@ extension SimpleTypeSpecifierSyntax {
34413419
return .keyword(.borrowing)
34423420
case .consuming:
34433421
return .keyword(.consuming)
3444-
case .transferring:
3445-
return .keyword(.transferring)
34463422
case .sending:
34473423
return .keyword(.sending)
34483424
}

Sources/SwiftSyntax/generated/Keyword.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,6 @@ public enum Keyword: UInt8, Hashable, Sendable {
224224
case then
225225
case `throw`
226226
case `throws`
227-
#if compiler(>=5.8)
228-
@_spi(ExperimentalLanguageFeatures)
229-
#endif
230-
case transferring
231227
case transpose
232228
case `true`
233229
case `try`
@@ -671,8 +667,6 @@ public enum Keyword: UInt8, Hashable, Sendable {
671667
self = .freestanding
672668
case "noDerivative":
673669
self = .noDerivative
674-
case "transferring":
675-
self = .transferring
676670
default:
677671
return nil
678672
}
@@ -1012,7 +1006,6 @@ public enum Keyword: UInt8, Hashable, Sendable {
10121006
"then",
10131007
"throw",
10141008
"throws",
1015-
"transferring",
10161009
"transpose",
10171010
"true",
10181011
"try",

Sources/SwiftSyntax/generated/raw/RawSyntaxValidation.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,6 @@ func validateLayout(layout: RawSyntaxBuffer, as kind: SyntaxKind) {
796796
.keyword("reasync"),
797797
.keyword("required"),
798798
.keyword("static"),
799-
.keyword("transferring"),
800799
.keyword("unowned"),
801800
.keyword("weak"),
802801
.keyword("sending")
@@ -2297,7 +2296,6 @@ func validateLayout(layout: RawSyntaxBuffer, as kind: SyntaxKind) {
22972296
.keyword("_const"),
22982297
.keyword("borrowing"),
22992298
.keyword("consuming"),
2300-
.keyword("transferring"),
23012299
.keyword("sending")
23022300
]))
23032301
assertNoError(kind, 2, verify(layout[2], as: RawUnexpectedNodesSyntax?.self))

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesD.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public struct DeclModifierDetailSyntax: SyntaxProtocol, SyntaxHashable, _LeafSyn
169169

170170
/// ### Children
171171
///
172-
/// - `name`: (`__consuming` | `__setter_access` | `_const` | `_local` | `actor` | `async` | `borrowing` | `class` | `consuming` | `convenience` | `distributed` | `dynamic` | `fileprivate` | `final` | `indirect` | `infix` | `internal` | `isolated` | `lazy` | `mutating` | `nonisolated` | `nonmutating` | `open` | `optional` | `override` | `package` | `postfix` | `prefix` | `private` | `public` | `reasync` | `required` | `static` | `transferring` | `unowned` | `weak` | `sending`)
172+
/// - `name`: (`__consuming` | `__setter_access` | `_const` | `_local` | `actor` | `async` | `borrowing` | `class` | `consuming` | `convenience` | `distributed` | `dynamic` | `fileprivate` | `final` | `indirect` | `infix` | `internal` | `isolated` | `lazy` | `mutating` | `nonisolated` | `nonmutating` | `open` | `optional` | `override` | `package` | `postfix` | `prefix` | `private` | `public` | `reasync` | `required` | `static` | `unowned` | `weak` | `sending`)
173173
/// - `detail`: ``DeclModifierDetailSyntax``?
174174
///
175175
/// ### Contained in
@@ -272,7 +272,6 @@ public struct DeclModifierSyntax: SyntaxProtocol, SyntaxHashable, _LeafSyntaxNod
272272
/// - `reasync`
273273
/// - `required`
274274
/// - `static`
275-
/// - `transferring`
276275
/// - `unowned`
277276
/// - `weak`
278277
/// - `sending`

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable,
10901090
///
10911091
/// ### Children
10921092
///
1093-
/// - `specifier`: (`inout` | `__shared` | `__owned` | `isolated` | `_const` | `borrowing` | `consuming` | `transferring` | `sending`)
1093+
/// - `specifier`: (`inout` | `__shared` | `__owned` | `isolated` | `_const` | `borrowing` | `consuming` | `sending`)
10941094
///
10951095
/// ### Contained in
10961096
///
@@ -1154,7 +1154,6 @@ public struct SimpleTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _LeafSy
11541154
/// - `_const`
11551155
/// - `borrowing`
11561156
/// - `consuming`
1157-
/// - `transferring`
11581157
/// - `sending`
11591158
public var specifier: TokenSyntax {
11601159
get {

0 commit comments

Comments
 (0)