Skip to content

clang-tidy: ignore boost headers for now.#9457

Merged
maliberty merged 1 commit intoThe-OpenROAD-Project:masterfrom
hzeller:feature-20260211-ignore-boost
Feb 11, 2026
Merged

clang-tidy: ignore boost headers for now.#9457
maliberty merged 1 commit intoThe-OpenROAD-Project:masterfrom
hzeller:feature-20260211-ignore-boost

Conversation

@hzeller
Copy link
Collaborator

@hzeller hzeller commented Feb 11, 2026

They are often meant to be included as a single
header that then internally includes all the
internal headers.

However, the single headers don't provide the necessary IWYU annotations for misc-include-cleaner to give proper guidance. So for now, misc-include-cleaner warnings w.r.t. boost are more noise than useful.

I have a few boost upstream PRs open, but it either goes slow to review, or they require met to show that it is helping, which I didn't have time to yet.
Even once all these are merged, we need to wait for them to show up in a released version.

(e.g.
boostorg/geometry#1427
boostorg/beast#3027
)

They are often meant to be included as a single
header that then internally includes all the
internal headers.

However, the single headers don't provide the necessary
IWYU annotations for `misc-include-cleaner` to give
proper guidance. So for now, misc-include-cleaner warnings
w.r.t. boost are more noise then useful.

I have a few boost upstream PRs open, but it either
goes slow to review, or they require met to show that
it is helping, which I didn't have time to yet.
Even once all these are merged, we need to wait for them
to show up in a released version.

(e.g.
  boostorg/geometry#1427
  boostorg/beast#3027
)

Signed-off-by: Henner Zeller <h.zeller@acm.org>
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the .clang-tidy configuration to ignore Boost headers for the misc-include-cleaner check. This is a reasonable temporary solution to reduce linter noise while waiting for upstream fixes in Boost. The change is straightforward, but I have a small suggestion to make the pattern matching more robust and consistent with the other ignored header patterns in the file.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty maliberty merged commit 379fb25 into The-OpenROAD-Project:master Feb 11, 2026
13 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