mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 05:37:50 +02:00
iwyu, doc: Document IWYU pragma: export for <threadsafety.h>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include <dbwrapper.h>
|
||||
#include <interfaces/chain.h>
|
||||
#include <kernel/cs_main.h>
|
||||
#include <threadsafety.h>
|
||||
#include <sync.h>
|
||||
#include <uint256.h>
|
||||
#include <util/fs.h>
|
||||
#include <util/threadinterrupt.h>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <node/txorphanage.h>
|
||||
#include <private_broadcast.h>
|
||||
#include <protocol.h>
|
||||
#include <threadsafety.h>
|
||||
#include <uint256.h>
|
||||
#include <util/expected.h>
|
||||
#include <validationinterface.h>
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <kernel/caches.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
#include <tinyformat.h>
|
||||
#include <txdb.h>
|
||||
#include <uint256.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <kernel/notifications_interface.h>
|
||||
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
#include <uint256.h>
|
||||
|
||||
#include <atomic>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <policy/feerate.h>
|
||||
#include <random.h>
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
#include <uint256.h>
|
||||
#include <util/fs.h>
|
||||
#include <validationinterface.h>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <threadsafety.h>
|
||||
#include <sync.h>
|
||||
#include <txmempool.h>
|
||||
#include <util/feefrac.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <primitives/transaction.h>
|
||||
#include <primitives/transaction_identifier.h>
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
#include <util/time.h>
|
||||
|
||||
#include <optional>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <core_io.h>
|
||||
#include <streams.h>
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
#include <util/fs.h>
|
||||
#include <validation.h>
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <attributes.h>
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
#include <util/task_runner.h>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#ifndef BITCOIN_SYNC_H
|
||||
#define BITCOIN_SYNC_H
|
||||
|
||||
// This header declares threading primitives compatible with Clang
|
||||
// Thread Safety Analysis and provides appropriate annotation macros.
|
||||
#include <threadsafety.h> // IWYU pragma: export
|
||||
#include <util/macros.h>
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
#include <node/connection_types.h>
|
||||
#include <node/eviction.h>
|
||||
#include <protocol.h>
|
||||
#include <sync.h>
|
||||
#include <test/fuzz/FuzzedDataProvider.h>
|
||||
#include <test/fuzz/util.h>
|
||||
#include <test/util/net.h>
|
||||
#include <threadsafety.h>
|
||||
#include <util/asmap.h>
|
||||
#include <util/sock.h>
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#ifndef BITCOIN_UTIL_STDMUTEX_H
|
||||
#define BITCOIN_UTIL_STDMUTEX_H
|
||||
|
||||
// This header declares threading primitives compatible with Clang
|
||||
// Thread Safety Analysis and provides appropriate annotation macros.
|
||||
#include <threadsafety.h> // IWYU pragma: export
|
||||
|
||||
#include <mutex>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#define BITCOIN_UTIL_THREADINTERRUPT_H
|
||||
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
|
||||
Reference in New Issue
Block a user