[clang] [clang] Fix assertion failure when initializing union with FAM (PR #77298)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 8 08:25:38 PST 2024
================
@@ -696,6 +696,9 @@ Bug Fixes in This Version
- Clang now accepts recursive non-dependent calls to functions with deduced
return type.
Fixes (`#71015 <https://github.com/llvm/llvm-project/issues/71015>`_)
+- Fix assertion failure when initializing union containing struct with
+ flexible array member using empty initializer list.
+ Fixes (`#77085 <https://github.com/llvm/llvm-project/issues/77085>`)
----------------
nikic wrote:
I've added the underscore to be safe. Wasn't intentional to drop it.
https://github.com/llvm/llvm-project/pull/77298
More information about the cfe-commits
mailing list