[libc++][PMR] Deprecate the implementation in std::experimental
This commit deprecates <experimental/memory_resource> since we now ship the non-experimental
version of it. Per the libc++ policy [1], we are deprecating the experimental feature in
upcoming LLVM 16 and will remove it entirely in LLVM 18.
[1]: https://libcxx.llvm.org/DesignDocs/ExperimentalFeatures.html#id4
Reviewed By: ldionne, #libc
Spies: EricWF, libcxx-commits
Differential Revision: https://reviews.llvm.org/D136245
NOKEYCHECK=True
GitOrigin-RevId: 28e399fa1ec876ea1052db30de570a21ab18d9fb
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 89029d6..d10fdde 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -92,6 +92,10 @@
- The ``_LIBCPP_ENABLE_CXX03_FUNCTION`` macro that allowed re-enabling the now-deprecated C++03 implementation of
``std::function`` has been removed. Users who need to use ``std::function`` should switch to C++11 and above.
+- The contents of ``<experimental/memory_resource>`` are now deprecated since libc++ ships ``<memory_resource>`` now.
+ Please migrate to ``<memory_resource>`` instead. Per libc++'s TS deprecation policy,
+ ``<experimental/memory_resource>`` will be removed in LLVM 18.
+
Upcoming Deprecations and Removals
----------------------------------