Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects of the same...
authoralexfh <alexfh@google.com>
Wed, 7 Feb 2024 01:02:12 +0000 (02:02 +0100)
committerGitHub <noreply@github.com>
Wed, 7 Feb 2024 01:02:12 +0000 (17:02 -0800)
- 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

index ba9b773c7772eef6da5f351e847dd8affcc9a49a..42a6b59026dc42c49d1b37a2428322969de2edf0 100644 (file)
@@ -234,11 +234,6 @@ C++2c Feature Support
 
 Resolutions to C++ Defect Reports
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- Implemented `CWG2137 <https://wg21.link/CWG2137>`_ which allows
-  list-initialization from objects of the same type.
-- Implemented `CWG2311 <https://wg21.link/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 <https://wg21.link/CWG2598>`_ and `CWG2096 <https://wg21.link/CWG2096>`_,
   making unions (that have either no members or at least one literal member) literal types.