[PATCH] D136694: [clang][Interp] Check that constructor calls initialize all record fields

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 06:51:52 PDT 2022


aaron.ballman added a comment.

It's worth noting that there are core issues in this area: https://wg21.link/cwg2558 and https://wg21.link/cwg2536 and they're not yet resolved.



================
Comment at: clang/test/AST/Interp/records.cpp:276
 
   // FIXME: This is currently not being diagnosed with the new constant interpreter.
   constexpr Derived D(12); // ref-error {{must be initialized by a constant expression}} \
----------------
Comment is now stale


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

https://reviews.llvm.org/D136694



More information about the cfe-commits mailing list