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:
Hennadii Stepanov
2024-03-15 10:47:25 +00:00
parent 3d255dfb67
commit 636c9862cf
3 changed files with 2 additions and 3 deletions

View File

@@ -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);