mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-12 13:43:43 +01:00
ci: Bump TIDY_LLVM_V
This change switches to the latest IWYU 0.22, which is compatible with Clang 18.
This commit is contained in:
@@ -370,8 +370,6 @@ TaprootBuilder& TaprootBuilder::Add(int depth, Span<const unsigned char> script,
|
||||
/* Construct NodeInfo object with leaf hash and (if track is true) also leaf information. */
|
||||
NodeInfo node;
|
||||
node.hash = ComputeTapleafHash(leaf_version, script);
|
||||
// due to bug in clang-tidy-17:
|
||||
// NOLINTNEXTLINE(modernize-use-emplace)
|
||||
if (track) node.leaves.emplace_back(LeafInfo{std::vector<unsigned char>(script.begin(), script.end()), leaf_version, {}});
|
||||
/* Insert into the branch. */
|
||||
Insert(std::move(node), depth);
|
||||
|
||||
Reference in New Issue
Block a user