Skip to content

Commit 358eca6

Browse files
authored
Merge pull request #1941 from ahoppen/ahoppen/renamed-nodes-compatibility
Add RenamedNodesCompatibility.swift to CMakeLists.txt
2 parents 1a594a6 + 96a5807 commit 358eca6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CodeGeneration/Sources/SyntaxSupport/SyntaxNodeKind.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ public enum SyntaxNodeKind: String, CaseIterable {
370370
}
371371
}
372372

373+
/// If the syntax kind has been renamed, the previous raw value that is now
374+
/// deprecated.
373375
public var deprecatedRawValue: String? {
374376
switch self {
375377
case .importPathComponentList:

Sources/SwiftSyntax/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ add_swift_host_library(SwiftSyntax
4040
generated/ChildNameForKeyPath.swift
4141
generated/Keyword.swift
4242
generated/RenamedChildrenCompatibility.swift
43+
generated/RenamedNodesCompatibility.swift
4344
generated/SyntaxAnyVisitor.swift
4445
generated/SyntaxBaseNodes.swift
4546
generated/SyntaxCollections.swift

0 commit comments

Comments
 (0)