From 371728c1d0713a9d53d74a0fa229978609eaa307 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Wed, 11 Feb 2026 05:53:45 -0800 Subject: [PATCH] clang-tidy: ignore boost headers for now. 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. https://github.com/boostorg/geometry/pull/1427 https://github.com/boostorg/beast/pull/3027 ) Signed-off-by: Henner Zeller --- .clang-tidy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-tidy b/.clang-tidy index 202b16396e0..a0bb7adee5e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -64,7 +64,7 @@ CheckOptions: - key: google-runtime-int.TypeSuffix value: _t - key: misc-include-cleaner.IgnoreHeaders - value: '.*/QtCore/.*;.*/QtGui/.*;.*/QtWidgets/.*;.*/spdlog/fmt/bundled/.*' + value: '.*/QtCore/.*;.*/QtGui/.*;.*/QtWidgets/.*;.*/spdlog/fmt/bundled/.*;boost/.*' # All modules but sta # Exclude build as there is too much noise from swig generated code