0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-10 10:52:31 -05:00
bitcoin-bitcoin-core/src/rpc
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
..
blockchain.cpp rpc: reduce LOCK(cs_main) scope in GetUndoChecked and getblockstats 2022-12-06 15:07:04 -05:00
blockchain.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
client.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
client.h
external_signer.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
fees.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
mempool.cpp [validation] remove PackageMempoolAcceptResult::m_package_feerate 2023-01-10 11:09:03 +00:00
mempool.h rpc: Move mempool RPCs to new file 2022-03-11 17:46:58 +01:00
mining.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
mining.h rpc: create rpc/mining.h, hoist default max tries values to constant 2020-06-01 15:08:36 +02:00
net.cpp p2p, rpc: don't allow past absolute timestamp in setban 2023-01-06 13:33:38 -03:00
node.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
output_script.cpp doc: add tr() descriptor example to deriveaddresses 2022-11-23 10:17:29 -05:00
protocol.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
rawtransaction.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
rawtransaction_util.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
rawtransaction_util.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
register.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
request.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
request.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
server.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
server.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
server_util.cpp scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
server_util.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
signmessage.cpp rpc: Move signmessage RPC util to new file 2022-04-28 11:19:29 +02:00
txoutproof.cpp rpc: reduce LOCK(cs_main) scope in gettxoutproof 2022-12-06 15:07:04 -05:00
util.cpp clang-tidy: Add performance-no-automatic-move check 2022-12-27 15:25:51 +00:00
util.h scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00