-
Notifications
You must be signed in to change notification settings - Fork 10.5k
ASTGen: An assortment of strides and improvements #67111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
655e4c1
[NFC] ASTGen: Remove unused `SwiftParser` imports
AnthonyLatsis af6bfe9
[NFC] ASTGen: Move `visit` methods from "Misc.swift" to "ASTGen.swift"
AnthonyLatsis 3e0c368
[NFC] ASTGen: Rename "Misc.swift" → "Bridge.swift"
AnthonyLatsis 59c2623
[NFC] ASTGen: Extract `TokenSyntax` → `BridgedIdentifier` mapping int…
AnthonyLatsis 92c1bdc
[NFC] ASTGen: Define `visit(_:)` overloads that take an optional to a…
AnthonyLatsis ea164cd
[NFC] ASTGen: Optimize and flatten the transform + `withBridgedArrayR…
AnthonyLatsis cd55d76
ASTGen: Skip leading trivia when forming bridged source locations
AnthonyLatsis e72b421
[NFC] ASTGen: Rename "Diagnostics.swift" → "DiagnosticsBridge.swift"
AnthonyLatsis 4b2cded
ASTGen: Start diagnosing instances of an invalid syntax tree
AnthonyLatsis 4b314a7
ASTGen: Fix enough source locations that we can start diffing AST dumps
AnthonyLatsis a141fba
[NFC] ASTGen: Don't unnecessarily bridge `TypeAliasDecl::setUnderlyin…
AnthonyLatsis 1291333
ASTGen: Cache parsed `IterableDeclContext` members using the request …
AnthonyLatsis 034a39a
ASTGen: Set brace locations for iterable declaration contexts
AnthonyLatsis 808ab1b
[NFC] ASTGen: Extract `ParamDecl` and `ParameterList` translation int…
AnthonyLatsis 6293332
ASTGen: Translate default arguments
AnthonyLatsis 7b25bfc
ASTGen: Translate function generic parameter clauses
AnthonyLatsis a49bf19
ASTGen: Translate class generic parameter clauses
AnthonyLatsis 345a7f8
ASTGen: Translate protocol declarations
AnthonyLatsis da427ad
ASTGen: Translate inheritance clauses
AnthonyLatsis b6be6da
ASTGen: Translate associated type declarations
AnthonyLatsis ca8f911
ASTGen: Translate generic where clauses
AnthonyLatsis b4b4a58
ASTGen: Translate actor declarations
AnthonyLatsis 4a5325a
ASTGen: Translate enumeration declarations
AnthonyLatsis fa1c9fd
ASTGen: Translate enum case declarations
AnthonyLatsis 76e2cdc
ASTGen: Translate enum element payloads
AnthonyLatsis de155c9
ASTGen: Translate extension declarations
AnthonyLatsis 96f13f5
ASTGen: Translate operator declarations
AnthonyLatsis 58ce5d1
ASTGen: Translate deinitializer declarations
AnthonyLatsis 5e46243
ASTGen: Translate initializer declarations
AnthonyLatsis a8db87a
ASTGen: Translate import declarations
AnthonyLatsis a1ba72c
ASTGen: Translate precedence group declarations
AnthonyLatsis ae83632
[NFC] ASTGen: Add Swift names to bridging functions for decls
AnthonyLatsis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️