Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects of the same...
commitb73cd5ec714740283841e0fc1f3ebebe65dd329a
authorAlexander Kornienko <alexfh@google.com>
Wed, 24 Jan 2024 17:59:36 +0000 (24 18:59 +0100)
committerTom Stellard <tstellar@redhat.com>
Mon, 29 Jan 2024 22:57:23 +0000 (29 14:57 -0800)
treebbabba4b02685110a775c6aa830ed9949adef8f3
parent3df71e5a3f5d5fb9436c53c298e5426f729288e2
Revert "[SemaCXX] Implement CWG2137 (list-initialization from objects of the same type) (#77768)"

This reverts commit 924701311aa79180e86ad8ce43d253f27d25ec7d. Causes compilation
errors on valid code, see
https://github.com/llvm/llvm-project/pull/77768#issuecomment-1908062472.

(cherry picked from commit 6e4930c67508a90bdfd756f6e45417b5253cd741)
clang/lib/Sema/SemaInit.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/CXX/drs/dr14xx.cpp
clang/test/CXX/drs/dr21xx.cpp
clang/test/CXX/drs/dr23xx.cpp
clang/www/cxx_dr_status.html
libcxx/test/std/utilities/utility/pairs/pairs.pair/ctor.pair_U_V_move.pass.cpp