Skip to content

Conversation

ahoppen
Copy link
Member

@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
Member Author

ahoppen commented Jun 26, 2024

swiftlang/sourcekit-lsp#1512

@swift-ci Please test

@ahoppen
Copy link
Member 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
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