[libcxx-commits] [libcxx] [libc++] Remove _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS (PR #111964)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 11 01:27: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 e2dc50c92987e6886b1b1641ebdbe9cc53bae192 e24417f4ed1f56dcc7681f159b172df93b94e451 --extensions ,h -- libcxx/include/__condition_variable/condition_variable.h libcxx/include/__config libcxx/include/__locale libcxx/include/__thread/thread.h libcxx/include/condition_variable libcxx/include/future libcxx/include/locale libcxx/include/mutex libcxx/include/shared_mutex libcxx/include/string
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/string b/libcxx/include/string
index fa0d7523f1..4d1e327ef1 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -1474,8 +1474,7 @@ public:
}
template <class _Tp, __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value, int> = 0>
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string&
- assign(const _Tp& __t) {
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string& assign(const _Tp& __t) {
__self_view __sv = __t;
return assign(__sv.data(), __sv.size());
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/111964
More information about the libcxx-commits
mailing list