[PATCH] D17407: [Sema] PR25755 Handle out of order designated initializers
Don Hinton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 23 16:17:14 PDT 2019
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
More information about the cfe-commits
mailing list