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

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


https://github.com/h-vetinari created https://github.com/llvm/llvm-project/pull/104866

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).

>From 2e482fb68ba798a5b41b0524a6ea43f0e6e4a5a4 Mon Sep 17 00:00:00 2001
From: "H. Vetinari" <h.vetinari at gmx.com>
Date: Tue, 20 Aug 2024 08:35:29 +1100
Subject: [PATCH] [clang][NFC] order C++ standards in reverse in release pages

---
 clang/docs/ReleaseNotes.rst | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

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
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



More information about the cfe-commits mailing list