Skip to content

Commit 6f339f8

Browse files
committed
[SIL] [Parser] Move ParserSIL into SIL library.
Move the source files from ParserSIL into the SIL library and remove the ParserSIL library. ParsersSIL doesn't need to be its own library and this change will simplify our builds.
1 parent ddef929 commit 6f339f8

File tree

8 files changed

+5
-10
lines changed

8 files changed

+5
-10
lines changed

lib/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ add_subdirectory(Markup)
3131
add_subdirectory(Migrator)
3232
add_subdirectory(Option)
3333
add_subdirectory(Parse)
34-
add_subdirectory(ParseSIL)
3534
add_subdirectory(PrintAsObjC)
3635
add_subdirectory(RemoteAST)
3736
add_subdirectory(Sema)

lib/Frontend/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ target_link_libraries(swiftFrontend PRIVATE
2020
swiftSIL
2121
swiftMigrator
2222
swiftOption
23-
swiftParseSIL
2423
swiftSILGen
2524
swiftSILOptimizer
2625
swiftIRGen

lib/ParseSIL/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

lib/SIL/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ endmacro()
2424
add_subdirectory(IR)
2525
add_subdirectory(Utils)
2626
add_subdirectory(Verifier)
27+
add_subdirectory(Parser)
2728

2829
add_swift_host_library(swiftSIL STATIC
2930
${SIL_SOURCES})

lib/SIL/Parser/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sil_register_sources(
2+
ParseSIL.cpp
3+
)
4+
File renamed without changes.

tools/SourceKit/lib/SwiftLang/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ target_link_libraries(SourceKitSwiftLang PRIVATE
3333
swiftAST
3434
swiftMarkup
3535
swiftParse
36-
swiftParseSIL
3736
swiftSIL
3837
swiftSILGen
3938
swiftSILOptimizer

0 commit comments

Comments
 (0)