[PATCH] D154675: [Clang] Fix crash when emitting diagnostic for out of order designated initializers in C++

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 8 10:36:32 PDT 2023


shafik added inline comments.


================
Comment at: clang/test/SemaCXX/cxx2a-initializer-aggregates.cpp:182
+namespace GH63605 {
+struct {
+  unsigned : 2;
----------------
cor3ntin wrote:
> Should we add bases?
Good catch b/c of course bases would cause problems 🤣


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154675/new/

https://reviews.llvm.org/D154675



More information about the cfe-commits mailing list