iwyu: Add pragma: always_keep to bitcoin-build-config.h #34127

pull hebasto wants to merge 3 commits into bitcoin:master from hebasto:251220-iwyu-always changing 67 files +69 −74
  1. hebasto commented at 5:25 pm on December 20, 2025: member
    Rather than use // IWYU pragma: keep with every #include <bitcoin-build-config.h>, apply a dedicated always_keep pragma to the bitcoin-build-config.h header itself.
  2. iwyu: Add `pragma: always_keep` to `bitcoin-build-config.h` 39d868a9b1
  3. scripted-diff: Drop now redundant `// IWYU pragma: keep`
    -BEGIN VERIFY SCRIPT-
    sed -i "s|#include <bitcoin-build-config.h> // IWYU pragma: keep|#include <bitcoin-build-config.h>|g" $( git grep -l "#include <bitcoin-build-config.h>" ./src/ )
    -END VERIFY SCRIPT-
    f28e8b3eaf
  4. lint: Update `lint_includes_build_config` cfd95262c5
  5. hebasto added the label Refactoring on Dec 20, 2025
  6. DrahtBot commented at 5:25 pm on December 20, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34127.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #34098 (test: [move-only] Move lint functions into modules by maflcko)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  7. hebasto closed this on Dec 21, 2025


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-01-02 00:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me