[libcxx-commits] [libcxx] [libc++][NFC] Refactor string's extern template lists (PR #137264)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 24 16:12:39 PDT 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 HEAD~1 HEAD --extensions ,h,cpp -- libcxx/include/__string/extern_template_lists.h libcxx/include/string libcxx/src/string.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__string/extern_template_lists.h b/libcxx/include/__string/extern_template_lists.h
index 87e534537..18f0ff9f1 100644
--- a/libcxx/include/__string/extern_template_lists.h
+++ b/libcxx/include/__string/extern_template_lists.h
@@ -87,7 +87,7 @@
Func(basic_string<CharT>& basic_string<CharT>::__assign_external(const value_type*)) \
Func(basic_string<CharT>& basic_string<CharT>::__assign_no_alias<false>(const value_type*, size_type)) \
Func(basic_string<CharT>& basic_string<CharT>::__assign_no_alias<true>(const value_type*, size_type)) \
- Func(void basic_string<CharT>::__erase_external_with_move(size_type, size_type)) \
+ Func(void basic_string<CharT>::__erase_external_with_move(size_type, size_type))
// clang-format on
``````````
</details>
https://github.com/llvm/llvm-project/pull/137264
More information about the libcxx-commits
mailing list