[PATCH] D59754: [Sema] Add c++2a designated initializer warnings

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 10 18:56:56 PDT 2019


thakis added a comment.

Another question about this, sorry. Do you know _why_ C++20 is more restrictive than C99 wrt "mixture of designated and non-designated initializers in the same initializer list is a C99 extension"? Is there some interaction with other C++ features that makes the C99 behavior difficult in C++20?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59754





More information about the cfe-commits mailing list