[clang] [clang] Fix assertion failure when initializing union with FAM (PR #77298)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 08:22:04 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>`)
----------------
tbaederr wrote:

I thought the `_` was necessary but the documentation builder seems to be happy.

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


More information about the cfe-commits mailing list