mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-15 11:36:00 -05:00
ci: Enable IWYU in src/kernel directory
Suggested https://github.com/bitcoin/bitcoin/pull/25308#discussion_r892505713
This commit is contained in:
parent
6db6552377
commit
1e761a0169
4 changed files with 23 additions and 3 deletions
|
@ -42,7 +42,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
|
||||||
" src/compat"\
|
" src/compat"\
|
||||||
" src/dbwrapper.cpp"\
|
" src/dbwrapper.cpp"\
|
||||||
" src/init"\
|
" src/init"\
|
||||||
" src/kernel/mempool_persist.cpp"\
|
" src/kernel"\
|
||||||
" src/node/chainstate.cpp"\
|
" src/node/chainstate.cpp"\
|
||||||
" src/policy/feerate.cpp"\
|
" src/policy/feerate.cpp"\
|
||||||
" src/policy/packages.cpp"\
|
" src/policy/packages.cpp"\
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
#include <util/time.h>
|
#include <util/time.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
namespace kernel {
|
namespace kernel {
|
||||||
|
|
||||||
std::optional<bilingual_str> SanityChecks(const Context&)
|
std::optional<bilingual_str> SanityChecks(const Context&)
|
||||||
|
|
|
@ -4,16 +4,32 @@
|
||||||
|
|
||||||
#include <kernel/coinstats.h>
|
#include <kernel/coinstats.h>
|
||||||
|
|
||||||
|
#include <chain.h>
|
||||||
#include <coins.h>
|
#include <coins.h>
|
||||||
#include <crypto/muhash.h>
|
#include <crypto/muhash.h>
|
||||||
#include <hash.h>
|
#include <hash.h>
|
||||||
|
#include <node/blockstorage.h>
|
||||||
|
#include <primitives/transaction.h>
|
||||||
|
#include <script/script.h>
|
||||||
#include <serialize.h>
|
#include <serialize.h>
|
||||||
|
#include <span.h>
|
||||||
|
#include <streams.h>
|
||||||
|
#include <sync.h>
|
||||||
|
#include <tinyformat.h>
|
||||||
#include <uint256.h>
|
#include <uint256.h>
|
||||||
|
#include <util/check.h>
|
||||||
#include <util/overflow.h>
|
#include <util/overflow.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <validation.h>
|
#include <validation.h>
|
||||||
|
#include <version.h>
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <iterator>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
namespace kernel {
|
namespace kernel {
|
||||||
|
|
||||||
|
|
|
@ -5,16 +5,18 @@
|
||||||
#ifndef BITCOIN_KERNEL_COINSTATS_H
|
#ifndef BITCOIN_KERNEL_COINSTATS_H
|
||||||
#define BITCOIN_KERNEL_COINSTATS_H
|
#define BITCOIN_KERNEL_COINSTATS_H
|
||||||
|
|
||||||
#include <chain.h>
|
|
||||||
#include <coins.h>
|
|
||||||
#include <consensus/amount.h>
|
#include <consensus/amount.h>
|
||||||
#include <streams.h>
|
#include <streams.h>
|
||||||
#include <uint256.h>
|
#include <uint256.h>
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <optional>
|
||||||
|
|
||||||
class CCoinsView;
|
class CCoinsView;
|
||||||
|
class Coin;
|
||||||
|
class COutPoint;
|
||||||
|
class CScript;
|
||||||
namespace node {
|
namespace node {
|
||||||
class BlockManager;
|
class BlockManager;
|
||||||
} // namespace node
|
} // namespace node
|
||||||
|
|
Loading…
Add table
Reference in a new issue