From 65975ed5b685855d9dc282101dca6839d7a176fc Mon Sep 17 00:00:00 2001 From: alexfh Date: Wed, 7 Feb 2024 02:02:12 +0100 Subject: [PATCH] Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects of the same type) (#77768)" in release/18.x (#79400) - Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects of the same type) (#77768)", see https://github.com/llvm/llvm-project/pull/77768#issuecomment-1908946696 --- clang/docs/ReleaseNotes.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index ba9b773c7772e..42a6b59026dc4 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -234,11 +234,6 @@ C++2c Feature Support Resolutions to C++ Defect Reports ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Implemented `CWG2137 `_ which allows - list-initialization from objects of the same type. -- Implemented `CWG2311 `_: given a prvalue ``e`` of object type - ``T``, ``T{e}`` will try to resolve an initializer list constructor and will use it if successful (CWG2137). - Otherwise, if there is no initializer list constructor, the copy will be elided as if it was ``T(e)``. - Implemented `CWG2598 `_ and `CWG2096 `_, making unions (that have either no members or at least one literal member) literal types.