Skip to content

[30.x] More Backports - #36902

Merged
fanquake merged 4 commits into
bitcoin:30.xfrom
fanquake:more_30_x_backports
Nov 19, 2026
Merged

fanquake merged 4 commits into
bitcoin:30.xfrom
fanquake:more_30_x_backports

Conversation

@fanquake

@fanquake fanquake commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

The `stl_tree_node`, `list_node` and `unordered_node` class templates
only mimic the layout of the standard library's container nodes, so
that `sizeof` yields an estimate of the memory they use. Their fields
are never accessed.

Since llvm/llvm-project#237374, Clang 24 diagnoses these fields with
`-Wunused-private-field`.

This change drops the `private:` access specifiers. It does not affect
the size or alignment of the structs, as all their fields keep the same
access control, and it is consistent with `stl_shared_counter`.

Github-Pull: bitcoin#36869
Rebased-From: b9a6b0c
@fanquake fanquake added this to the 30.6 milestone Nov 17, 2026
@DrahtBot

DrahtBot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK instagibbs

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

hebasto and others added 3 commits November 18, 2026 16:16
Use of non-target directives is not recommended. As of CMake 4.5.0, it
triggers `-Wnon-target-directive` warnings.

Github-Pull: bitcoin#36889
Rebased-From: 460f877
The module is superseded by CMake's `-Wnon-target-directive` warnings,
which are enabled when using the "dev-mode" preset.

Github-Pull: bitcoin#36889
Rebased-From: 435d5b2
@instagibbs

Copy link
Copy Markdown
Member

clACK 71858c7

@fanquake
fanquake merged commit 1fcaeef into bitcoin:30.x Nov 19, 2026
19 checks passed
@fanquake
fanquake deleted the more_30_x_backports branch November 19, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants