Skip to content

[SourceKit] Update requests to handle locations within generated buffers #64456

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 1 commit into from
Mar 24, 2023

Conversation

bnbarham
Copy link
Contributor

Update requests to handle being passed a separate key.primary_file which specifies the file to use for building the AST. key.sourcefile is then the file to find in SourceManager, which could be a generated buffer.

Resolves rdar://106863186.

@bnbarham bnbarham force-pushed the nested-cursor branch 2 times, most recently from fea4607 to 941db55 Compare March 18, 2023 02:24
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham force-pushed the nested-cursor branch 2 times, most recently from 2347629 to 88d0023 Compare March 20, 2023 20:23
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham
Copy link
Contributor Author

@swift-ci please test

Update requests to handle being passed a separate `key.primary_file`
which specifies the file to use for building the AST. `key.sourcefile`
is then the file to find in `SourceManager`, which could be a generated
buffer.

Resolves rdar://106863186.
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham merged commit 323745d into swiftlang:main Mar 24, 2023
@bnbarham bnbarham deleted the nested-cursor branch March 24, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants