https://github.com/frederick-vs-ja updated https://github.com/llvm/llvm-project/pull/127166
>From a2fc3d0550ab22e1a4273dc2debfda23df7cad6f Mon Sep 17 00:00:00 2001 From: "A. Jiang" <d...@live.cn> Date: Fri, 14 Feb 2025 14:03:23 +0800 Subject: [PATCH 1/3] [clang][docs] Fix DR staus for P2280R4 P2280R4 is officially a defect report. Although Clang 20 only implementated it for C++23 and later. I think we should mention that it is a DR but not backported yet. --- clang/www/cxx_status.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index 0fc3b1d314698..70490b2e4331f 100755 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -439,8 +439,8 @@ <h2 id="cxx23">C++23 implementation status</h2> </tr> <tr> <td>Using unknown pointers and references in constant expressions</td> - <td><a href="https://wg21.link/P2280R4">P2280R4</a></td> - <td class="unreleased" align="center">Clang 20</td> + <td><a href="https://wg21.link/P2280R4">P2280R4</a> (<a href="#dr">DR</a>)</td> + <td class="unreleased" align="center">Clang 20 <a href="#p2280">(12)</a></td> </tr> <tr> <td>static <code>operator()</code></td> @@ -510,6 +510,12 @@ <h2 id="cxx23">C++23 implementation status</h2> <td class="full" align="center">Yes</td> </tr> </table> + +<p> +<span id="p2280">(12): In Clang 20, this change is not yet retroactively +applied to pre-C++23 modes. +</span> +</p> </details> >From cc9eac55a7a9fc6faf4f7d2eb623710ac1afbe43 Mon Sep 17 00:00:00 2001 From: "A. Jiang" <d...@live.cn> Date: Fri, 14 Feb 2025 18:37:16 +0800 Subject: [PATCH 2/3] Adopt @Endilll's suggestion Co-authored-by: Vlad Serebrennikov <serebrennikov.vladis...@gmail.com> --- clang/www/cxx_status.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index 70490b2e4331f..0ac625d547935 100755 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -512,7 +512,7 @@ <h2 id="cxx23">C++23 implementation status</h2> </table> <p> -<span id="p2280">(12): In Clang 20, this change is not yet retroactively +<span id="p2280">(12): This feature is not yet available in C++20 and earlier modes. applied to pre-C++23 modes. </span> </p> >From 8ae351b5c70ca8279b44963727b0e741ca83d0cb Mon Sep 17 00:00:00 2001 From: "A. Jiang" <d...@live.cn> Date: Tue, 4 Mar 2025 20:09:35 +0800 Subject: [PATCH 3/3] Fix bad application of suggestion --- clang/www/cxx_status.html | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html index eb6eacc58caf5..4b1718f51391a 100755 --- a/clang/www/cxx_status.html +++ b/clang/www/cxx_status.html @@ -549,7 +549,6 @@ <h2 id="cxx23">C++23 implementation status</h2> <p> <span id="p2280">(12): This feature is not yet available in C++20 and earlier modes. -applied to pre-C++23 modes. </span> </p> </details> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits