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.
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-
hebasto commented at 5:25 PM on December 20, 2025: member
-
iwyu: Add `pragma: always_keep` to `bitcoin-build-config.h` 39d868a9b1
-
f28e8b3eaf
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-
-
lint: Update `lint_includes_build_config` cfd95262c5
- hebasto added the label Refactoring on Dec 20, 2025
-
DrahtBot commented at 5:25 PM on December 20, 2025: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34127.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process. A summary of reviews will appear here.
<!--174a7506f384e20aa4161008e828411d-->
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.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
- hebasto closed this on Dec 21, 2025
Labels