[libc++] Revert __uninitialized_buffer changes
authorLouis Dionne <ldionne.2@gmail.com>
Thu, 29 Jun 2023 22:09:58 +0000 (18:09 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 30 Jun 2023 13:17:24 +0000 (09:17 -0400)
commitf13e1a65cabbecde1ace3cc02d30a0883d797957
tree8fd935a2b215fe3e75a3eaff2077751124c216fa
parent7d644dc59826728d8f1a345cee13639a2617e9aa
[libc++] Revert __uninitialized_buffer changes

This patch reverts the following commits:

    015cd317eaed28a923d14a33c9d6739012a688be (add missing HIDE_FROM_ABI)
    420a204d52205f1277a8d5df3dbafac6082e02e2 (add _LIBCPP_NO_CFI)
    31eeba3f7c0e2ef4a21c07da9326a4ae1a8de7e2 (add __uninitialized_buffer)

It also reverts a small part of b935ab8e747cf52ff12471879460206a9f433eea
which is required to make the stable_partition.pass.cpp test pass on GCC.

Some issues were pointed out in https://reviews.llvm.org/D152208 and
in https://reviews.llvm.org/D154017, so I am reverting this patch
until we have time to weigh the various solutions and get consensus
on the design of the API.

Differential Revision: https://reviews.llvm.org/D154161
libcxx/include/CMakeLists.txt
libcxx/include/__algorithm/inplace_merge.h
libcxx/include/__algorithm/stable_partition.h
libcxx/include/__algorithm/stable_sort.h
libcxx/include/__memory/construct_at.h
libcxx/include/__memory/temporary_buffer.h
libcxx/include/__memory/uninitialized_buffer.h [deleted file]
libcxx/include/module.modulemap.in
libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp