[clang] [clang][ThreadSafety] Resolve fields named from nested struct/union members (PR #233965)
Marco Elver via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 03:53:46 PDT 2026
================
@@ -172,6 +172,38 @@ void test() {
}
```
+A member of a nested struct or union, whether named or anonymous, may be
----------------
melver wrote:
I don't know why this deserves such a lengthy documentation entry. Can this be removed or shortened significantly? Maybe just a note that referring to an enclosing struct's member is supported; but I don't think it deserves taking up more than half of this section.
I think it's more or less intuitive that this should work, and we're just fixing a latent bug.
https://github.com/llvm/llvm-project/pull/233965
More information about the cfe-commits
mailing list