[libcxx-commits] [libcxx] [libc++] P0792R14: `std::function_ref` (PR #94894)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 8 03:54:45 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-03-08 10:52:40.000000 +0000
+++ generate_feature_test_macro_components.py	2026-03-08 10:54:08.559376 +0000
@@ -692,11 +692,11 @@
             "values": {
                 "c++26": 202306  # P0792R14 function_ref: a type-erased callable reference
             },
             "headers": ["functional"],
             "test_suite_guard": "!defined(_LIBCPP_VERSION) || _LIBCPP_HAS_EXPERIMENTAL_FUNCTION_REF",
-            "libcxx_guard": "_LIBCPP_HAS_EXPERIMENTAL_FUNCTION_REF"
+            "libcxx_guard": "_LIBCPP_HAS_EXPERIMENTAL_FUNCTION_REF",
         },
         {
             "name": "__cpp_lib_gcd_lcm",
             "values": {"c++17": 201606},
             "headers": ["numeric"],

``````````

</details>


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


More information about the libcxx-commits mailing list