[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:40:58 PST 2024
================
@@ -2471,6 +2480,23 @@ static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl,
return true;
}
+static bool
+checkUnionConstructorIntializer(Sema &SemaRef, const FunctionDecl *Dcl,
----------------
mahtohappy wrote:
DiagUnionMemberConstExprCtorInitializer will be okay?
https://github.com/llvm/llvm-project/pull/81225
More information about the cfe-commits
mailing list