Skip to content

[ASTGen] Handle '#sourceLocation' directives #77721

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
Nov 21, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Nov 19, 2024

Use ExportedSourceFile.sourceLocationConverter.lineTable.virtualFiles to populate the information in swift::SourceManger and swift::SourceFile when "parsing" with ASTGen

@rintaro
Copy link
Member Author

rintaro commented Nov 19, 2024

swiftlang/swift-syntax#2900
@swift-ci Please smoke test

@rintaro rintaro force-pushed the astgen-virtualfiles branch from 045efdb to b91d38f Compare November 20, 2024 00:19
@rintaro
Copy link
Member Author

rintaro commented Nov 20, 2024

@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Nov 20, 2024

swiftlang/swift-syntax#2900
@swift-ci Please smoke test

@rintaro rintaro force-pushed the astgen-virtualfiles branch from b91d38f to 50116bf Compare November 20, 2024 16:18
@rintaro
Copy link
Member Author

rintaro commented Nov 20, 2024

swiftlang/swift-syntax#2900
@swift-ci Please smoke test

@rintaro rintaro force-pushed the astgen-virtualfiles branch from 50116bf to 50175c7 Compare November 20, 2024 22:34
@rintaro
Copy link
Member Author

rintaro commented Nov 20, 2024

swiftlang/swift-syntax#2900
@swift-ci Please smoke test

Use `ExportedSourceFile.sourceLocationConverter.lineTable.virtualFiles`
to populate the information in `swift::SourceManger` and
`swift::SourceFile` when "parsing" with ASTGen
@rintaro rintaro force-pushed the astgen-virtualfiles branch from 50175c7 to e153164 Compare November 21, 2024 16:23
@rintaro
Copy link
Member Author

rintaro commented Nov 21, 2024

swiftlang/swift-syntax#2900
@swift-ci Please smoke test

@rintaro rintaro merged commit 392185e into swiftlang:main Nov 21, 2024
3 checks passed
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