[libcxx-commits] [libcxx] [libc++][PSTL] Add backend for forwaring to mem functions (PR #102448)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 8 03:45:02 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 1feef92a775daf8818faf766e0b1332421b48c5f 1213be216567cbc61f3fb3e86787abc70ff2e0e5 --extensions h -- libcxx/include/__pstl/backends/forward_to_mem_funcs.h libcxx/include/__algorithm/equal.h libcxx/include/__pstl/backend.h libcxx/include/__pstl/backend_fwd.h libcxx/include/__pstl/dispatch.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__pstl/backend_fwd.h b/libcxx/include/__pstl/backend_fwd.h
index 803780086e..c7acea0e5c 100644
--- a/libcxx/include/__pstl/backend_fwd.h
+++ b/libcxx/include/__pstl/backend_fwd.h
@@ -54,7 +54,8 @@ struct __forward_to_mem_funcs_backend_tag;
#if defined(_LIBCPP_PSTL_BACKEND_SERIAL)
using __current_configuration = __backend_configuration<__serial_backend_tag, __default_backend_tag>;
#elif defined(_LIBCPP_PSTL_BACKEND_STD_THREAD)
-using __current_configuration = __backend_configuration<__forward_to_mem_funcs_backend_tag, __std_thread_backend_tag, __default_backend_tag>;
+using __current_configuration =
+ __backend_configuration<__forward_to_mem_funcs_backend_tag, __std_thread_backend_tag, __default_backend_tag>;
#elif defined(_LIBCPP_PSTL_BACKEND_LIBDISPATCH)
using __current_configuration = __backend_configuration<__libdispatch_backend_tag, __default_backend_tag>;
#else
``````````
</details>
https://github.com/llvm/llvm-project/pull/102448
More information about the libcxx-commits
mailing list