File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax
Sources/SwiftSyntax/generated Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ let syntaxKindFile = SourceFileSyntax(leadingTrivia: copyrightHeader) {
19
19
try ! EnumDeclSyntax (
20
20
"""
21
21
/// Enumerates the known kinds of Syntax represented in the Syntax tree.
22
- public enum SyntaxKind: CaseIterable
22
+ public enum SyntaxKind
23
23
"""
24
24
) {
25
25
DeclSyntax ( " case token " )
Original file line number Diff line number Diff line change 16
16
- Effect specifiers:
17
17
- Description: The ` unexpectedAfterThrowsSpecifier ` node of the various effect specifiers has been removed.
18
18
- Pull request: https://github.com/apple/swift-syntax/pull/2219
19
+ - ` SyntaxKind ` removed conformance to ` CaseIterable `
20
+ - Description: ` SyntaxKind ` no longer conforms to ` CaseIterable ` since there is no good use case to iterate over all syntax kinds.
21
+ - Pull request:
19
22
20
23
21
24
## Template
Original file line number Diff line number Diff line change 13
13
//===----------------------------------------------------------------------===//
14
14
15
15
/// Enumerates the known kinds of Syntax represented in the Syntax tree.
16
- public enum SyntaxKind : CaseIterable {
16
+ public enum SyntaxKind {
17
17
case token
18
18
case accessorBlock
19
19
case accessorDeclList
You can’t perform that action at this time.
0 commit comments