[clang] [clang][docs] Fix DR staus for P2280R4 (PR #127166)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 13 22:05:53 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: A. Jiang (frederick-vs-ja)

<details>
<summary>Changes</summary>

P2280R4 is officially a defect report. Although Clang 20 only implementated it for C++23 and later, and #<!-- -->95474 accidently removed the DR status in `cxx_status.html`. I think we should mention that it is a DR but not backported yet.

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


1 Files Affected:

- (modified) clang/www/cxx_status.html (+8-2) 


``````````diff
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>
 
 

``````````

</details>


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


More information about the cfe-commits mailing list