Skip to content
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

[6.0] Implement fileAffectsSwiftOrClangBuildSettings with the logic from LLBuildManifestBuilder #7709

Merged

Conversation

ahoppen
Copy link
Contributor

@ahoppen ahoppen commented Jun 25, 2024

…`LLBuildManifestBuilder`

Instead of inspecting file extensions to decide whether a file might affect build settings, check which files are in directories that are affecting compilation. This is the same logic that `LLBuildManifestBuilder` uses and should be more stable. In particular, this stops us from reloading the package manifest in SourceKit-LSP when a header file is written to a `.build` directory.

rdar://128573306
@ahoppen ahoppen requested a review from bnbarham June 25, 2024 01:03
@ahoppen ahoppen changed the title Implement fileAffectsSwiftOrClangBuildSettings with the logic from LLBuildManifestBuilder [6.0] Implement fileAffectsSwiftOrClangBuildSettings with the logic from LLBuildManifestBuilder Jun 25, 2024
@ahoppen
Copy link
Contributor Author

ahoppen commented Jun 26, 2024

swiftlang/sourcekit-lsp#1512

@swift-ci Please test

@ahoppen
Copy link
Contributor Author

ahoppen commented Jun 26, 2024

swiftlang/sourcekit-lsp#1512

@swift-ci Please test

@ahoppen ahoppen merged commit c21a148 into swiftlang:release/6.0 Jun 26, 2024
5 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.

None yet

2 participants