For reference, with
diff --git a/ci/test/06_script_b.sh b/ci/test/06_script_b.sh
index e64af2ad5..58661ff4c 100755
--- a/ci/test/06_script_b.sh
+++ b/ci/test/06_script_b.sh
@@ -35,14 +35,13 @@ if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
fi
if [ "${RUN_TIDY}" = "true" ]; then
- export P_CI_DIR="${BASE_BUILD_DIR}/bitcoin-$HOST/src/"
- CI_EXEC run-clang-tidy "${MAKEJOBS}"
export P_CI_DIR="${BASE_BUILD_DIR}/bitcoin-$HOST/"
CI_EXEC "python3 ${DIR_IWYU}/include-what-you-use/iwyu_tool.py"\
" src/compat"\
" src/init"\
" src/rpc/fees.cpp"\
" src/rpc/signmessage.cpp"\
+ " src/validationinterface.cpp"\
" -p . ${MAKEJOBS} -- -Xiwyu --cxx17ns -Xiwyu --mapping_file=${BASE_BUILD_DIR}/bitcoin-$HOST/contrib/devtools/iwyu/bitcoin.core.imp"
fi
I get:
validationinterface.h should add these lines:
#include <stddef.h> // for size_t
#include <stdint.h> // for uint64_t
#include "threadsafety.h" // for LOCKS_EXCLUDED
validationinterface.h should remove these lines:
- class CConnman; // lines 20-20
- class uint256; // lines 22-22
validationinterface.cpp should add these lines:
#include <assert.h> // for assert
#include <ext/alloc_traits.h> // for __alloc_traits<>::value_type
#include <iterator> // for next
#include <list> // for list<>::iterator, _List_iterator
#include <vector> // for vector
#include "attributes.h" // for LIFETIMEBOUND
#include "sync.h" // for AssertLockNotHeldInternal, LOCK
#include "uint256.h" // for uint256