[libcxx-commits] [libcxx] This is testing the formatter job (PR #91272)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 6 14:08:43 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 ee36dd20e7a15dd5d66223592650655c8cf743fe 8844a83d2d1b9308162a377fc3f3a38d0dc0c7c2 -- libcxx/include/__memory/shared_ptr.h libcxx/include/tuple
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/libcxx/include/__memory/shared_ptr.h b/libcxx/include/__memory/shared_ptr.h
index b2f5b048fb..992b1ba43f 100644
--- a/libcxx/include/__memory/shared_ptr.h
+++ b/libcxx/include/__memory/shared_ptr.h
@@ -73,7 +73,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 #elif defined(_LIBCPP_COMPILER_GCC)
 #  define _LIBCPP_HAS_BUILTIN_ATOMIC_SUPPORT
 #endif
- 
+
 template <class _ValueType>
 inline _LIBCPP_HIDE_FROM_ABI _ValueType __libcpp_relaxed_load(_ValueType const* __value) {
 #if !defined(_LIBCPP_HAS_NO_THREADS) && defined(__ATOMIC_RELAXED) &&                                                   \

``````````

</details>


https://github.com/llvm/llvm-project/pull/91272


More information about the libcxx-commits mailing list