[clang] [Clang][Sema] Diagnosis for constexpr constructor not initializing a union member (PR #81225)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 21 06:39:24 PST 2024
================
@@ -2343,17 +2349,9 @@ static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl,
// - if the class is a union having variant members, exactly one of them
// shall be initialized;
----------------
mahtohappy wrote:
I'll add the references.
https://github.com/llvm/llvm-project/pull/81225
More information about the cfe-commits
mailing list