Merge bitcoin/bitcoin#36181: ci: Upgrade IWYU to 0.27 compatible with Clang 23

3b944f194f iwyu: Switch to generated Clang intrinsics mapping file (Hennadii Stepanov)
1b5ee3be59 ci: Upgrade IWYU to 0.27 compatible with Clang 23 (Hennadii Stepanov)
6ed7c535ad iwyu: Prefer canonical headers (Hennadii Stepanov)

Pull request description:

  The new IWYU [release](https://github.com/include-what-you-use/include-what-you-use/tree/clang_23) includes several improvements and bug fixes, including:
  - https://github.com/include-what-you-use/include-what-you-use/pull/1991
  - https://github.com/include-what-you-use/include-what-you-use/pull/2013
  - https://github.com/include-what-you-use/include-what-you-use/pull/2014
  - https://github.com/include-what-you-use/include-what-you-use/pull/2058
  - https://github.com/include-what-you-use/include-what-you-use/pull/2062
  - https://github.com/include-what-you-use/include-what-you-use/pull/2093

  This allows us to remove all corresponding workarounds and patches.

  Additionally, the compiler intrinsics mapping has switched from a hardcoded file to a dynamically generated one.

ACKs for top commit:
  fanquake:
    ACK 3b944f194f
  l0rinc:
    shallow code review ACK 3b944f194f

Tree-SHA512: b4b92be735244c00f667657f55501d60fd65a1b77e39b40275cdb7b82c95b6b53e9df6fa7f36560f0578a175bf61f6dc4409e167c6fdbc2248d957c17a916a67
This commit is contained in:
merge-script
2026-09-09 12:00:40 +01:00
39 changed files with 29 additions and 725 deletions

View File

@@ -18,9 +18,7 @@
#include <streams.h>
#include <sync.h>
#include <uint256.h>
// IWYU incorrectly suggests removing this header.
// See https://github.com/include-what-you-use/include-what-you-use/issues/2014.
#include <util/byte_units.h> // IWYU pragma: keep
#include <util/byte_units.h>
#include <util/expected.h>
#include <util/fs.h>
#include <util/hasher.h>