[PATCH] D103395: PR45879: Keep evaluated expression in LValue object

Raul Tambre via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 3 04:21:12 PDT 2021


tambre added a comment.

In D103395#3105668 <https://reviews.llvm.org/D103395#3105668>, @sepavloff wrote:

> Strange, I see that it cannot be compiled neither by gcc nor by clang: https://godbolt.org/z/1dY9Gs6zM. Do I miss something?

Sorry, should've been more specific. Try in C++20 mode: https://godbolt.org/z/4v8b3nsET
I think the difference might be due to P1331R2 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1331r2.pdf>, but I'm not sure.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103395



More information about the cfe-commits mailing list