[PATCH] D106302: Implement P1937 consteval in unevaluated contexts

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 5 13:56:01 PDT 2021


cor3ntin updated this revision to Diff 364606.
cor3ntin added a comment.

- Add tests for typeid

All the tests suggested by Richard pass as expected without having to
modify the implementation of type id itself!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106302

Files:
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CXX/basic/basic.def.odr/p2-typeid.cpp
  clang/test/SemaCXX/cxx2a-consteval.cpp
  clang/www/cxx_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106302.364606.patch
Type: text/x-patch
Size: 4850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210805/5627295b/attachment.bin>


More information about the cfe-commits mailing list