hintonda added a comment.

In D17407#1439029 <https://reviews.llvm.org/D17407#1439029>, @xbolva00 wrote:

> Please check also https://bugs.llvm.org/show_bug.cgi?id=40030


If you compile with -pedantic, you'll get the following warning:  `warning: 
designated initializers are a C99 feature [-Wc99-extensions]`

This warning currently applies for all versions of C++, but should probably not 
warn for cases supported in c++20.  However, that's a bigger fix, since it 
would need to discriminate between what c++20 does and does not support, e.g., 
nested and out of order designators are not included in c++20.

@rsmith This is ready for review when you get a chance.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D17407



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to