Skip to content

🍒 [clang][ExtractAPI] Ensure LocationFileChecker doesn't try to travers… #7845

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

Conversation

daniel-grumberg
Copy link

…e VFS when determining file path (llvm#74071)

As part of https://reviews.llvm.org/D154130 the logic of LocationFileChecker changed slightly to try and get the absolute external file path instead of the name as requested when the file was openened which would be before VFS mappings in our usage. Ensure that we only check against the name as requested instead of trying to generate the external canonical file path.

rdar://115195433

…e VFS when determining file path (llvm#74071)

As part of https://reviews.llvm.org/D154130 the logic of
LocationFileChecker changed slightly to try and get the absolute
external file path instead of the name as requested when the file was
openened which would be before VFS mappings in our usage. Ensure that we
only check against the name as requested instead of trying to generate
the external canonical file path.

rdar://115195433
@daniel-grumberg daniel-grumberg changed the title [clang][ExtractAPI] Ensure LocationFileChecker doesn't try to travers… 🍒 [clang][ExtractAPI] Ensure LocationFileChecker doesn't try to travers… Dec 4, 2023
@daniel-grumberg
Copy link
Author

@swift-ci please test

@daniel-grumberg daniel-grumberg merged commit 1f241db into swiftlang:stable/20230725 Dec 4, 2023
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.

1 participant