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

Feature flags for resolve virtual includes using heuristics or clangd #6387

Merged
merged 7 commits into from
Apr 18, 2024

Conversation

LeFrosch
Copy link
Collaborator

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: #6375

Description of this change

Since using clangd (-ibazel) to resolve virtual includes only works with the legacy engine and currently breaks it under some circumstances (see #6375) revert back to the old heuristics based approach by default. To enable the usage of clangd the bazel.sync.clangd.virtual.include registry flag can be set to true.

@LeFrosch LeFrosch marked this pull request as ready for review April 11, 2024 12:35
@LeFrosch LeFrosch requested review from ujohnny and removed request for jastice, tpasternak, agluszak and mai93 April 11, 2024 12:35
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Apr 11, 2024
ujohnny

This comment was marked as resolved.

Copy link
Collaborator

@ujohnny ujohnny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ujohnny ujohnny merged commit fb66245 into bazelbuild:master Apr 18, 2024
6 checks passed
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Apr 18, 2024
@LeFrosch LeFrosch deleted the Daniel.Brauner/6375 branch August 18, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants