[clang] [Clang][Sema] Diagnosis for constexpr constructor not initializing a union member (PR #81225)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 01:43:17 PST 2024


================
@@ -149,9 +149,10 @@ Improvements to Clang's diagnostics
   prints.
 
 - Clang now diagnoses member template declarations with multiple declarators.
+- Clang now diagnoses use of the ``template`` keyword after declarative nested name specifiers.
 
-- Clang now diagnoses use of the ``template`` keyword after declarative nested
-  name specifiers.
+- Clang now diagnoses constexpr constructor for not initializing atleast one member of union
+- Fixes(`#46689 Constexpr constructor not initializing a union member is not diagnosed`)
----------------
Fznamznon wrote:

A NIT to render correctly in the doc and align with the style of the doc.
```suggestion
- Clang now diagnoses constexpr constructor for not initializing at least one member of union.  Fixes  `#46689 <https://github.com/llvm/llvm-project/issues/46689>`_.
```

https://github.com/llvm/llvm-project/pull/81225


More information about the cfe-commits mailing list