[PATCH] D59754: [Sema] Add c++2a designated initializer warnings
Don Hinton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 25 17:45:25 PDT 2019
hintonda marked an inline comment as done.
hintonda added inline comments.
================
Comment at: clang/lib/Sema/SemaInit.cpp:2044
+ : std::distance(RD->field_begin(), RD->field_end());
+ if (VerifyOnly && (LastIdx >= NextIdx || HasNonDesignatedInit) &&
+ SemaRef.getLangOpts().CPlusPlus2a)
----------------
Rakete1111 wrote:
> `!VerifyOnly` and braces please.
Will commit this change as soon as check-clang finishes, but not sure I grok the VerityOnly/!VerifyOnly criteria. Could you help me out?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59754/new/
https://reviews.llvm.org/D59754
More information about the cfe-commits
mailing list