-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor import and compilation directive parsing to use SwiftSyntax (#…
…92) There's a significant improvement to generator performance from using SwiftSyntax which translates to roughly 3x faster codegen for mid-sized projects. The goal may be to eventually migrate everything over to SwiftSyntax, although this will require re-implementing some of SourceKit's functionality. - Requires Swift 5.2 toolchain to run project and build from source - Refactor `ParseFilesOperation` into multiple operations - Add `retainForever(_:)` due to slow dealloc of `SwiftFileParser` - Add ability to bundle dylibs into CLI binary and load at startup
- Loading branch information
1 parent
abedcd4
commit 1507273
Showing
64 changed files
with
5,358 additions
and
4,515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Mockingbird.xcodeproj/GeneratedModuleMap/_CSwiftSyntax/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module _CSwiftSyntax { | ||
umbrella "../../../.build/checkouts/swift-syntax/Sources/_CSwiftSyntax/include" | ||
export * | ||
} |
2 changes: 1 addition & 1 deletion
2
Mockingbird.xcodeproj/GeneratedModuleMap/llbuildBasic/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module llbuildBasic { | ||
umbrella "/Users/andrew/Mockingbird/.build/checkouts/swift-llbuild/lib/Basic/include" | ||
umbrella "../../../.build/checkouts/swift-llbuild/lib/Basic/include" | ||
export * | ||
} |
2 changes: 1 addition & 1 deletion
2
Mockingbird.xcodeproj/GeneratedModuleMap/llbuildBuildSystem/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module llbuildBuildSystem { | ||
umbrella "/Users/andrew/Mockingbird/.build/checkouts/swift-llbuild/lib/BuildSystem/include" | ||
umbrella "../../../.build/checkouts/swift-llbuild/lib/BuildSystem/include" | ||
export * | ||
} |
2 changes: 1 addition & 1 deletion
2
Mockingbird.xcodeproj/GeneratedModuleMap/llbuildCore/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module llbuildCore { | ||
umbrella "/Users/andrew/Mockingbird/.build/checkouts/swift-llbuild/lib/Core/include" | ||
umbrella "../../../.build/checkouts/swift-llbuild/lib/Core/include" | ||
export * | ||
} |
2 changes: 1 addition & 1 deletion
2
Mockingbird.xcodeproj/GeneratedModuleMap/llvmSupport/module.modulemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module llvmSupport { | ||
umbrella "/Users/andrew/Mockingbird/.build/checkouts/swift-llbuild/lib/llvm/Support/include" | ||
umbrella "../../../.build/checkouts/swift-llbuild/lib/llvm/Support/include" | ||
export * | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.