[clang] [Clang] Extend lifetime of temporaries in mem-default-init for P2718R0 (PR #86960)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 17:01:45 PDT 2024
================
@@ -171,6 +171,9 @@ C++23 Feature Support
^^^^^^^^^^^^^^^^^^^^^
- Removed the restriction to literal types in constexpr functions in C++23 mode.
+- Extend lifetime of temporaries in mem-default-init for P2718R0. Clang now fully
+ supported `P2718R0 Lifetime extension in range-based for loops <https://wg21.link/P2718R0>`_.
----------------
yronglin wrote:
Thanks, l'll fix it.
https://github.com/llvm/llvm-project/pull/86960
More information about the cfe-commits
mailing list