[clang] [clang][NFC] order C++ standards in reverse in release notes (PR #104866)

via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 14:38:03 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: None (h-vetinari)

<details>
<summary>Changes</summary>

Noticed that the release notes currently have a weird order: C++17, C++14(!), C++20, C++23, C++2c. Reorder them in reverse chronological order, which also matches the [status page](https://clang.llvm.org/cxx_status.html).

---
Full diff: https://github.com/llvm/llvm-project/pull/104866.diff


1 Files Affected:

- (modified) clang/docs/ReleaseNotes.rst (+12-12) 


``````````diff
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 249249971dec7c..a27a4972ca5d77 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -107,29 +107,29 @@ C++ Language Changes
   constant expression. Supports the `V.xyzw` syntax and other tidbits
   as seen in OpenCL. Selecting multiple elements is left as a future work.
 
-C++17 Feature Support
+C++2c Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
 
-C++14 Feature Support
-^^^^^^^^^^^^^^^^^^^^^
+- Add ``__builtin_is_implicit_lifetime`` intrinsic, which supports
+  `P2647R1 A trait for implicit lifetime types <https://wg21.link/p2674r1>`_
 
-C++20 Feature Support
-^^^^^^^^^^^^^^^^^^^^^
+- Add ``__builtin_is_virtual_base_of`` intrinsic, which supports
+  `P2985R0 A type trait for detecting virtual base classes <https://wg21.link/p2985r0>`_
+
+- Implemented `P2893R3 Variadic Friends <https://wg21.link/P2893>`_
 
 C++23 Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
 - Removed the restriction to literal types in constexpr functions in C++23 mode.
 
-C++2c Feature Support
+C++20 Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
 
-- Add ``__builtin_is_implicit_lifetime`` intrinsic, which supports
-  `P2647R1 A trait for implicit lifetime types <https://wg21.link/p2674r1>`_
-
-- Add ``__builtin_is_virtual_base_of`` intrinsic, which supports
-  `P2985R0 A type trait for detecting virtual base classes <https://wg21.link/p2985r0>`_
+C++17 Feature Support
+^^^^^^^^^^^^^^^^^^^^^
 
-- Implemented `P2893R3 Variadic Friends <https://wg21.link/P2893>`_
+C++14 Feature Support
+^^^^^^^^^^^^^^^^^^^^^
 
 Resolutions to C++ Defect Reports
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

``````````

</details>


https://github.com/llvm/llvm-project/pull/104866


More information about the cfe-commits mailing list