[clang] [Clang][Sema] Diagnosis for constexpr constructor not initializing a union member (PR #81225)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 20 22:51:21 PST 2024
================
@@ -2471,6 +2480,23 @@ static bool CheckConstexprFunctionBody(Sema &SemaRef, const FunctionDecl *Dcl,
return true;
}
+static bool
+checkUnionConstructorIntializer(Sema &SemaRef, const FunctionDecl *Dcl,
----------------
shafik wrote:
I really don't like this name, I don't feel like it really describes what this function does. I don't have a good substitute off the top of my head. CC @Endilll for some help.
https://github.com/llvm/llvm-project/pull/81225
More information about the cfe-commits
mailing list