[libcxx-commits] [libcxx] [libc++] Introduce __specialized_algorithms (PR #167295)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 10 02:41:41 PST 2025
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 origin/main HEAD --extensions ,h -- libcxx/include/__algorithm/specialized_algorithms.h libcxx/include/__algorithm/fill_n.h libcxx/include/__bit_reference --diff_from_common_commit
``````````
: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 clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__algorithm/specialized_algorithms.h b/libcxx/include/__algorithm/specialized_algorithms.h
index 532927468..56b59d724 100644
--- a/libcxx/include/__algorithm/specialized_algorithms.h
+++ b/libcxx/include/__algorithm/specialized_algorithms.h
@@ -19,7 +19,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
// FIXME: This should really be an enum
namespace _Algorithm {
- struct __fill_n {};
+struct __fill_n {};
} // namespace _Algorithm
template <class>
``````````
</details>
https://github.com/llvm/llvm-project/pull/167295
More information about the libcxx-commits
mailing list