[libcxx-commits] [libcxx] [libc++][test] `__cpp_lib_within_lifetime` -> `__cpp_lib_is_within_lifetime` (PR #91896)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 13 03:06:08 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r 17daa204feadf9c28fc13b7daa69c3cbe865b238...1253071a35ef29a224c55dd98ee1d8e8f6f37e57 libcxx/utils/generate_feature_test_macro_components.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- generate_feature_test_macro_components.py	2024-05-13 10:01:53.000000 +0000
+++ generate_feature_test_macro_components.py	2024-05-13 10:05:43.184157 +0000
@@ -769,11 +769,13 @@
         },
         {
             "name": "__cpp_lib_is_within_lifetime",
             # Note this name was changed from "__cpp_lib_within_lifetime" when the paper was adopted
             # https://github.com/cplusplus/draft/commit/0facada4cadd97e1ba15bfaea76a804f1dc5c309
-            "values": {"c++26": 202306},  # P2641R4 Checking if a union alternative is active
+            "values": {
+                "c++26": 202306
+            },  # P2641R4 Checking if a union alternative is active
             "headers": ["type_traits"],
             "unimplemented": True,
         },
         {
             "name": "__cpp_lib_jthread",

``````````

</details>


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


More information about the libcxx-commits mailing list