0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-09 15:37:00 -04:00
bitcoin-core/src/test/fuzz
MarcoFalke 9887fc7898
Merge bitcoin/bitcoin#26758: refactor: Add performance-no-automatic-move clang-tidy check
9567bfeab9 clang-tidy: Add `performance-no-automatic-move` check (Hennadii Stepanov)

Pull request description:

  Split from bitcoin/bitcoin#26642 as [requested](https://github.com/bitcoin/bitcoin/pull/26642#discussion_r1054673201).

  For the problem description see https://clang.llvm.org/extra/clang-tidy/checks/performance/no-automatic-move.html.

  The following types are affected:
  - `std::pair<CAddress, NodeSeconds>`
  - `std::vector<CAddress>`
  - `UniValue`, also see bitcoin/bitcoin#25429
  - `QColor`
  - `CBlock`
  - `MempoolAcceptResult`
  - `std::shared_ptr<CWallet>`
  - `std::optional<SelectionResult>`
  - `CTransactionRef`, which is `std::shared_ptr<const CTransaction>`

ACKs for top commit:
  andrewtoth:
    ACK 9567bfeab9
  aureleoules:
    ACK 9567bfeab9

Tree-SHA512: 9b6a5d539205b41d2c86402d384318ed2e1d89e66333ebd200a48fd7df3ce6f6c60a3e989eda5cc503fb34b8d82526f95e56776e1af51e63b49e3a1fef72dbcb
2023-01-11 16:18:34 +01:00
..
util scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
addition_overflow.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
addrman.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
asmap.cpp [netgroupman] Add GetMappedAS() and GetGroup() 2022-04-20 14:35:52 +01:00
asmap_direct.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
autofile.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
banman.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
base_encode_decode.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
bech32.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
bitdeque.cpp fuzz: Avoid timeout in bitdeque fuzz target 2022-09-05 15:38:33 +02:00
block.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
block_header.cpp
blockfilter.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
bloom_filter.cpp
buffered_file.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
chain.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
checkqueue.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
coins_view.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
connman.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
crypto.cpp
crypto_aes256.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
crypto_aes256cbc.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
crypto_chacha20.cpp
crypto_chacha20_poly1305_aead.cpp Move AdditionOverflow to util, Add CheckedAdd with unit tests 2021-12-17 10:46:39 +01:00
crypto_common.cpp
crypto_diff_fuzz_chacha20.cpp Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant) 2022-04-26 10:41:45 +01:00
crypto_hkdf_hmac_sha256_l32.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
crypto_poly1305.cpp
cuckoocache.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
decode_tx.cpp
descriptor_parse.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
deserialize.cpp [net] Move asmap into NetGroupManager 2022-04-20 14:29:29 +01:00
eval_script.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
fee_rate.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
fees.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
flatfile.cpp
float.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
fuzz.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
fuzz.h
FuzzedDataProvider.h
golomb_rice.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
hex.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
http_request.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
i2p.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
integer.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
key.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
key_io.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
kitchen_sink.cpp
load_external_block_file.cpp refactor: Make mapBlocksUnknownParent local, and rename it 2022-07-18 12:06:14 -06:00
locale.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
merkleblock.cpp
message.cpp
miniscript.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
minisketch.cpp Add src/node/* code to node:: namespace 2022-01-06 22:14:16 -05:00
muhash.cpp
multiplication_overflow.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
net.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
net_permissions.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
netaddress.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
netbase_dns_lookup.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
node_eviction.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
p2p_transport_serialization.cpp refactor: use braced init for integer constants instead of c style casts 2023-01-03 19:31:29 -06:00
parse_hd_keypath.cpp
parse_numbers.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
parse_script.cpp
parse_univalue.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
policy_estimator.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
policy_estimator_io.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
pow.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
prevector.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
primitives_transaction.cpp
process_message.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
process_messages.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
protocol.cpp
psbt.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
random.cpp
rbf.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
rolling_bloom_filter.cpp
rpc.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
script.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
script_assets_test_minimizer.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
script_bitcoin_consensus.cpp
script_descriptor_cache.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
script_flags.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
script_format.cpp refactor: merge ScriptPubKeyToUniv & ScriptToUniv into one function 2022-03-30 20:00:23 +01:00
script_interpreter.cpp
script_ops.cpp
script_sigcache.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
script_sign.cpp refactor: Change * to & in MutableTransactionSignatureCreator 2022-05-04 11:49:29 +02:00
scriptnum_ops.cpp
secp256k1_ec_seckey_import_export_der.cpp
secp256k1_ecdsa_signature_parse_der_lax.cpp
signature_checker.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
signet.cpp
socks5.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
span.cpp
spanparsing.cpp
string.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
strprintf.cpp
system.cpp
timedata.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
torcontrol.cpp
transaction.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
tx_in.cpp
tx_out.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
tx_pool.cpp clang-tidy: Add performance-no-automatic-move check 2022-12-27 15:25:51 +00:00
txorphan.cpp clang-tidy: Add performance-no-automatic-move check 2022-12-27 15:25:51 +00:00
txrequest.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
util.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
util.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
utxo_snapshot.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
validation_load_mempool.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
versionbits.cpp refactor: use braced init for integer constants instead of c style casts 2023-01-03 19:31:29 -06:00