[clang] [clang] Allow class with anonymous union member to be const-default-constructible even if a union member has a default member initializer (#95854) (PR #96301)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 27 01:16:01 PDT 2024
================
@@ -318,6 +318,9 @@ Bug Fixes to C++ Support
of the current instantiation in all cases.
- Fix evaluation of the index of dependent pack indexing expressions/types specifiers (#GH105900)
- Correctly handle subexpressions of an immediate invocation in the presence of implicit casts. (#GH105558)
+- Clang incorrectly considers a class with an anonymous union member to not be
----------------
cor3ntin wrote:
```suggestion
- Clang incorrectly considered a class with an anonymous union member to not be
```
https://github.com/llvm/llvm-project/pull/96301
More information about the cfe-commits
mailing list