Skip to content

Commit 2fb133f

Browse files
committed
[libc++][NFC] Reflow release notes
There are a few lines in the release notes which are much wider than the 120 columns we usually use. This reflows the text to keep it below the threshold.
1 parent e7f782e commit 2fb133f

File tree

1 file changed

+14
-9
lines changed
  • libcxx/docs/ReleaseNotes

1 file changed

+14
-9
lines changed

libcxx/docs/ReleaseNotes/20.rst

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@ Improvements and New Features
5050
- The ``lexicographical_compare`` and ``ranges::lexicographical_compare`` algorithms have been optimized for trivially
5151
equality comparable types, resulting in a performance improvement of up to 40x.
5252

53-
- The ``_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION`` macro has been added to make ``std::uncaught_exception`` available in C++20 and later modes.
53+
- The ``_LIBCPP_ENABLE_CXX20_REMOVED_UNCAUGHT_EXCEPTION`` macro has been added to make ``std::uncaught_exception``
54+
available in C++20 and later modes.
5455

5556

5657
Deprecations and Removals
5758
-------------------------
5859

59-
- TODO: The ``LIBCXX_ENABLE_ASSERTIONS`` CMake variable and the ``_LIBCPP_ENABLE_ASSERTIONS`` macro that were used to enable
60-
the safe mode will be removed in LLVM 20.
60+
- TODO: The ``LIBCXX_ENABLE_ASSERTIONS`` CMake variable and the ``_LIBCPP_ENABLE_ASSERTIONS`` macro that were used to
61+
enable the safe mode will be removed in LLVM 20.
6162

6263
- Support for the C++20 synchronization library (``<barrier>``, ``<latch>``, ``atomic::wait``, etc.) has been
6364
removed in language modes prior to C++20. If you are using these features prior to C++20, you will need to
@@ -67,7 +68,9 @@ Deprecations and Removals
6768
``_LIBCPP_ENABLE_REMOVED_WEEKDAY_RELATIONAL_OPERATORS`` macro that was used to re-enable this extension will be
6869
ignored in LLVM 20.
6970

70-
- The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro no longer has any effect. ``std::allocator<const T>`` is not supported as an extension anymore, please migrate any code that uses e.g. ``std::vector<const T>`` to be standards conforming.
71+
- The ``_LIBCPP_ENABLE_REMOVED_ALLOCATOR_CONST`` macro no longer has any effect. ``std::allocator<const T>`` is not
72+
supported as an extension anymore, please migrate any code that uses e.g. ``std::vector<const T>`` to be
73+
standards conforming.
7174

7275
Upcoming Deprecations and Removals
7376
----------------------------------
@@ -81,12 +84,14 @@ LLVM 20
8184
LLVM 21
8285
~~~~~~~
8386

84-
- The status of the C++03 implementation will be frozen after the LLVM 21 release. This means that starting in LLVM 22, non-critical bug fixes may not be back-ported
85-
to C++03, including LWG issues. C++03 is a legacy platform, where most projects are no longer actively maintained. To
86-
reduce the amount of fixes required to keep such legacy projects compiling with up-to-date toolchains, libc++ will aim to freeze the status of the headers in C++03 mode to avoid unintended breaking changes.
87-
See https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc for more details.
87+
- The status of the C++03 implementation will be frozen after the LLVM 21 release. This means that starting in LLVM 22,
88+
non-critical bug fixes may not be back-ported to C++03, including LWG issues. C++03 is a legacy platform, where most
89+
projects are no longer actively maintained. To reduce the amount of fixes required to keep such legacy projects
90+
compiling with up-to-date toolchains, libc++ will aim to freeze the status of the headers in C++03 mode to avoid
91+
unintended breaking changes. See https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc for more details.
8892

89-
If you are using C++03 in your project, you should consider moving to a newer version of the Standard to get the most out of libc++.
93+
If you are using C++03 in your project, you should consider moving to a newer version of the Standard to get the most
94+
out of libc++.
9095

9196

9297
ABI Affecting Changes

0 commit comments

Comments
 (0)