diff options
author | fanquake <fanquake@gmail.com> | 2023-05-22 09:29:43 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-05-22 09:42:42 +0100 |
commit | 9a8318f30ba7da7798990cfa7c3017d2382da3cf (patch) | |
tree | 9693fbe448b19a05297dd0279dce96ccd8c0fe98 /ci | |
parent | 17acb2782a66f033238340e4fb81009e7f79e97a (diff) | |
parent | 98ea79841177cf7492ec1de1ba1979f75390c63b (diff) | |
download | bitcoin-9a8318f30ba7da7798990cfa7c3017d2382da3cf.tar.xz |
Merge bitcoin/bitcoin#27707: ci, iwyu: Double maximum line length for includes
98ea79841177cf7492ec1de1ba1979f75390c63b ci, iwyu: Double maximum line length for includes (Hennadii Stepanov)
Pull request description:
This PR makes the IWYU output in the CI 'tidy' task more useful by avoiding most cases where a comment ends with an ellipsis like that:
```
#include "primitives/transaction.h" // for CTxIn, CMutableTransaction, CTra...
```
ACKs for top commit:
TheCharlatan:
ACK 98ea79841177cf7492ec1de1ba1979f75390c63b
Tree-SHA512: 25195ccb2095884b23586416b86999ebc42577c6d777abdbd176a704fa75c64deb91fa61cd91d570a5408dd459e930e53bc70d963b76c73fca7a800e74b1bdbf
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/test/06_script_b.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh index 17e9dc1b5c..8604d8e842 100755 --- a/ci/test/06_script_b.sh +++ b/ci/test/06_script_b.sh @@ -166,6 +166,7 @@ if [ "${RUN_TIDY}" = "true" ]; then python3 "${DIR_IWYU}/include-what-you-use/iwyu_tool.py" \ -p . "${MAKEJOBS}" \ -- -Xiwyu --cxx17ns -Xiwyu --mapping_file="${BASE_BUILD_DIR}/bitcoin-$HOST/contrib/devtools/iwyu/bitcoin.core.imp" \ + -Xiwyu --max_line_length=160 \ 2>&1 | tee /tmp/iwyu_ci.out cd "${BASE_ROOT_DIR}/src" python3 "${DIR_IWYU}/include-what-you-use/fix_includes.py" --nosafe_headers < /tmp/iwyu_ci.out |