[libcxx-commits] [libcxx] [libcxx] Remove empty ~__no_destroy (PR #89882)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 25 16:09:50 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 354a04c8e6af0a119d71ce71e9a4fe6d9b3b6772 90a2082ded350d07cce2a76bcc18bbe388b65bd7 -- libcxx/test/libcxx/utilities/no_destroy.pass.cpp libcxx/include/__utility/no_destroy.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__utility/no_destroy.h b/libcxx/include/__utility/no_destroy.h
index a02aff0f70..8edd194577 100644
--- a/libcxx/include/__utility/no_destroy.h
+++ b/libcxx/include/__utility/no_destroy.h
@@ -30,7 +30,7 @@ struct __uninitialized_tag {};
// initialization using __emplace.
template <class _Tp>
struct __no_destroy {
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR explicit __no_destroy(__uninitialized_tag) : __obj_() { }
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR explicit __no_destroy(__uninitialized_tag) : __obj_() {}
template <class... _Args>
_LIBCPP_HIDE_FROM_ABI explicit __no_destroy(_Args&&... __args) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/89882
More information about the libcxx-commits
mailing list