Skip to content

[libc++] Remove experimental pmr headers now shipped in mainline #73172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions libcxx/docs/DesignDocs/ExperimentalFeatures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,19 @@ Most (but not all) of the features of the LFTS were accepted into C++17.
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.2.2 | ``weak_ptr`` enhancements | Not yet | Never added | |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.5 | ``memory_resource`` | Not yet | | |
| 8.5 | ``memory_resource`` | 16.0 | 18.0 | Removed |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.6 | ``polymorphic_allocator`` | Not yet | | |
| 8.6 | ``polymorphic_allocator`` | 16.0 | 18.0 | Removed |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.7 | ``resource_adaptor`` | | n/a | Not part of C++17 |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.8 | Access to program-wide ``memory_resource`` objects | Not yet | | |
| 8.8 | Access to program-wide ``memory_resource`` objects | 16.0 | 18.0 | Removed |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.9 | Pool resource classes | Not yet | | |
| 8.9 | Pool resource classes | 16.0 | 18.0 | Removed |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.10 | ``monotonic_buffer_resource`` | Not yet | | |
| 8.10 | ``monotonic_buffer_resource`` | 16.0 | 18.0 | Removed |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.11 | Alias templates using polymorphic memory resources | Not yet | | |
| 8.11 | Alias templates using polymorphic memory resources | 16.0 | 18.0 | Removed |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
| 8.12 | Non-owning pointers | | n/a | Not part of C++17 |
+---------+-------------------------------------------------------+--------------------+------------------------------------------+-------------------------+
Expand Down
13 changes: 5 additions & 8 deletions libcxx/docs/ReleaseNotes/18.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,14 @@ Deprecations and Removals
Please see the updated documentation about the hardening modes in libc++ and in particular the
``_LIBCPP_VERBOSE_ABORT`` macro for details.

Upcoming Deprecations and Removals
----------------------------------

LLVM 18
~~~~~~~

- The headers ``<experimental/deque>``, ``<experimental/forward_list>``, ``<experimental/list>``,
``<experimental/map>``, ``<experimental/memory_resource>``, ``<experimental/regex>``, ``<experimental/set>``,
``<experimental/string>``, ``<experimental/unordered_map>``, ``<experimental/unordered_set>``,
and ``<experimental/vector>`` will be removed in LLVM 18, as all their contents will have been implemented in
namespace ``std`` for at least two releases.
and ``<experimental/vector>`` have been removed in LLVM 18, as all their contents will have been
implemented in namespace ``std`` for at least two releases.

Upcoming Deprecations and Removals
----------------------------------

LLVM 19
~~~~~~~
Expand Down
11 changes: 0 additions & 11 deletions libcxx/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -920,23 +920,12 @@ set(files
experimental/__simd/traits.h
experimental/__simd/utility.h
experimental/__simd/vec_ext.h
experimental/deque
experimental/forward_list
experimental/iterator
experimental/list
experimental/map
experimental/memory
experimental/memory_resource
experimental/propagate_const
experimental/regex
experimental/set
experimental/simd
experimental/string
experimental/type_traits
experimental/unordered_map
experimental/unordered_set
experimental/utility
experimental/vector
ext/__hash
ext/hash_map
ext/hash_set
Expand Down
13 changes: 0 additions & 13 deletions libcxx/include/__std_clang_module
Original file line number Diff line number Diff line change
Expand Up @@ -86,25 +86,12 @@
#include <exception>
#include <execution>
#include <expected>
#include <experimental/deque>
#include <experimental/forward_list>
#include <experimental/iterator>
#include <experimental/list>
#include <experimental/map>
#include <experimental/memory>
#include <experimental/memory_resource>
#include <experimental/propagate_const>
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
# include <experimental/regex>
#endif
#include <experimental/set>
#include <experimental/simd>
#include <experimental/string>
#include <experimental/type_traits>
#include <experimental/unordered_map>
#include <experimental/unordered_set>
#include <experimental/utility>
#include <experimental/vector>
#include <fenv.h>
#include <filesystem>
#include <float.h>
Expand Down
4 changes: 0 additions & 4 deletions libcxx/include/experimental/__config
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
#define _LIBCPP_END_NAMESPACE_LFTS_V2 } } }
#define _VSTD_LFTS_V2 _VSTD_EXPERIMENTAL::fundamentals_v2

#define _LIBCPP_BEGIN_NAMESPACE_LFTS_PMR _LIBCPP_BEGIN_NAMESPACE_LFTS namespace pmr {
#define _LIBCPP_END_NAMESPACE_LFTS_PMR _LIBCPP_END_NAMESPACE_LFTS }
#define _VSTD_LFTS_PMR _VSTD_LFTS::pmr

// TODO: support more targets
#if defined(__AVX__)
#define _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES 32
Expand Down
52 changes: 0 additions & 52 deletions libcxx/include/experimental/deque

This file was deleted.

52 changes: 0 additions & 52 deletions libcxx/include/experimental/forward_list

This file was deleted.

52 changes: 0 additions & 52 deletions libcxx/include/experimental/list

This file was deleted.

62 changes: 0 additions & 62 deletions libcxx/include/experimental/map

This file was deleted.

Loading