[libcxx-commits] [libcxx] [libc++][docs] Fix documentation of `REQUIRES: std-at-least-c++26` (PR #166221)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 3 12:00:46 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Adrian Vogelsgesang (vogelsgesang)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) libcxx/docs/TestingLibcxx.rst (+1-1) 


``````````diff
diff --git a/libcxx/docs/TestingLibcxx.rst b/libcxx/docs/TestingLibcxx.rst
index dbe69484abedf..062c09571eafe 100644
--- a/libcxx/docs/TestingLibcxx.rst
+++ b/libcxx/docs/TestingLibcxx.rst
@@ -451,7 +451,7 @@ Instead use:
 
 .. code-block:: cpp
 
-   // UNSUPPORTED: std-at-least-c++26
+   // REQUIRES: requires-std-at-least-c++26
 
 There is no corresponding ``std-at-most-c++23``. This could be useful when
 tests are only valid for a small set of standard versions. For example, a

``````````

</details>


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


More information about the libcxx-commits mailing list