Repository navigation
[30.x] More Backports - #36902
Merged
Merged
[30.x] More Backports#36902
Conversation
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
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste |
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
fanquake
force-pushed
the
more_30_x_backports
branch
from
November 18, 2026 16:16
758d2ec to
71858c7
Compare
fanquake
marked this pull request as ready for review
November 18, 2026 20:48
Member
|
clACK 71858c7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Backports:
include_directories->target_include_directories#36889