Skip to content

Commit

Permalink
Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects…
Browse files Browse the repository at this point in the history
… of the same type) (llvm#77768)" in release/18.x (llvm#79400)

- Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects
of the same type) (llvm#77768)", see
llvm#77768 (comment)
  • Loading branch information
alexfh authored and tstellar committed Feb 14, 2024
1 parent b0a1c12 commit 74c539b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 74c539b

Please sign in to comment.