[libcxx-commits] [libcxx] [libc++] Speed-up vector<bool> range-based operations [3/3] (PR #120134)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 18 07:18:17 PST 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 76714be5fd4ace66dd9e19ce706c2e2149dd5716 42390667a47bb40e4b1635d9aa4952e5134318dd --extensions h,,cpp -- libcxx/test/benchmarks/containers/vector_bool_operations.bench.cpp libcxx/include/__algorithm/copy.h libcxx/include/__bit_reference libcxx/include/__cxx03/__algorithm/copy.h libcxx/include/__cxx03/__bit_reference libcxx/test/benchmarks/containers/ContainerBenchmarks.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__cxx03/__bit_reference b/libcxx/include/__cxx03/__bit_reference
index 64ba33dfe4..9ad4b8672d 100644
--- a/libcxx/include/__cxx03/__bit_reference
+++ b/libcxx/include/__cxx03/__bit_reference
@@ -968,7 +968,7 @@ private:
friend struct __bit_array;
template <class _AlgPolicy>
friend struct __copy_impl;
-
+
template <bool _FillVal, class _Dp>
_LIBCPP_CONSTEXPR_SINCE_CXX20 friend void
__fill_n_bool(__bit_iterator<_Dp, false> __first, typename _Dp::size_type __n);
``````````
</details>
https://github.com/llvm/llvm-project/pull/120134
More information about the libcxx-commits
mailing list