mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
Merge bitcoin/bitcoin#35900: iwyu: Fix warnings in src/interfaces and treat them as errors
b3ff9c4d68iwyu: Fix warnings in `src/interfaces` and treat them as errors (Hennadii Stepanov)d564b0255fiwyu: Add temporary mapping to work around upstream bug (Hennadii Stepanov) Pull request description: This PR continues the ongoing effort to enforce IWYU warnings. See [Developer Notes](https://github.com/bitcoin/bitcoin/blob/master/doc/developer-notes.md#using-iwyu). ACKs for top commit: maflcko: review ACKb3ff9c4d68🖋 Tree-SHA512: 9359854c7b6e6ec93022947e78ef57fc68728326df874371028997a550fd1b6ef08e4b09271163b9d5c921c9e01deadf92b0eb5ae3f620d797e4f9bdea8f4727
This commit is contained in:
@@ -249,6 +249,7 @@ if [[ "${RUN_IWYU}" == true ]]; then
|
||||
-Xiwyu --max_line_length=160 \
|
||||
-Xiwyu --check_also='*/common/types\.h' \
|
||||
-Xiwyu --check_also='*/consensus/*\.h' \
|
||||
-Xiwyu --check_also='*/interfaces/*\.h' \
|
||||
-Xiwyu --check_also='*/primitives/transaction_identifier\.h' \
|
||||
2>&1 || true
|
||||
} | tee /tmp/iwyu_ci.out
|
||||
|
||||
Reference in New Issue
Block a user