Skip to content

Commit 5fe2ead

Browse files
committed
[Madros] Update for SwiftSyntaxMacroExpansion module
Share the same expansion logic between ASTGen and SwiftCompilerMessageHandling
1 parent 4d8dab0 commit 5fe2ead

File tree

5 files changed

+72
-244
lines changed

5 files changed

+72
-244
lines changed

lib/ASTGen/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ add_pure_swift_host_library(swiftASTGen STATIC
3232
SwiftSyntax::SwiftParserDiagnostics
3333
SwiftSyntax::SwiftSyntax
3434
SwiftSyntax::SwiftSyntaxMacros
35+
SwiftSyntax::SwiftSyntaxMacroExpansion
3536
swiftLLVMJSON
3637
)

lib/ASTGen/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ let package = Package(
3737
.product(name: "SwiftOperators", package: "swift-syntax"),
3838
.product(name: "SwiftParser", package: "swift-syntax"),
3939
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
40+
.product(name: "SwiftSyntaxMacroExpansion", package: "swift-syntax"),
4041
"swiftLLVMJSON"
4142
],
4243
path: "Sources/ASTGen",
43-
exclude: ["CMakeLists.txt"],
4444
swiftSettings: swiftSetttings
4545
),
4646
.target(

0 commit comments

Comments
 (0)