[PATCH] D111400: [Clang][C++2b] P2242R3: Non-literal variables [...] in constexpr

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 21 13:13:58 PDT 2022


hubert.reinterpretcast accepted this revision.
hubert.reinterpretcast added a comment.
This revision is now accepted and ready to land.

LGTM with minor nit. Thank you.



================
Comment at: clang/test/SemaCXX/constant-expression-cxx2b.cpp:4
+
+struct NonLiteral { //cxx2a-note {{'NonLiteral' is not literal}}
+  NonLiteral() {}
----------------
Minor nit: Formatting.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111400



More information about the cfe-commits mailing list