[libcxx-commits] [libcxx] [libc++] P2255R2: Set `__cpp_lib_reference_from_temporary` (PR #207920)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 7 00:49:57 PDT 2026


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 origin/main...HEAD libcxx/utils/generate_feature_test_macro_components.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
--- generate_feature_test_macro_components.py	2026-07-07 07:45:47.000000 +0000
+++ generate_feature_test_macro_components.py	2026-07-07 07:49:23.803923 +0000
@@ -1221,11 +1221,11 @@
             "unimplemented": True,
         },
         {
             "name": "__cpp_lib_reference_from_temporary",
             "values": {"c++23": 202202},
-            "headers": ["type_traits"]
+            "headers": ["type_traits"],
         },
         {
             "name": "__cpp_lib_reference_wrapper",
             "values": {"c++26": 202403}, # P2944R3: Comparisons for reference_wrapper
             "headers": ["functional"],

``````````

</details>


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


More information about the libcxx-commits mailing list