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  -- libcxx/include/__tree
``````````

</details>

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

``````````diff
diff --git a/libcxx/include/__tree b/libcxx/include/__tree
index 82ffcc13e..a73ae8627 100644
--- a/libcxx/include/__tree
+++ b/libcxx/include/__tree
@@ -77,7 +77,7 @@ template <class _TreeIterator>
 class __map_const_iterator;
 
 enum class __tree_color : bool {
-  __red = false,
+  __red   = false,
   __black = true,
 };
 
@@ -1397,7 +1397,7 @@ __tree<_Tp, _Compare, 
_Allocator>::_DetachedTreeCache::__detach_next(__node_poin
     return nullptr;
   if (std::__tree_is_left_child(static_cast<__node_base_pointer>(__cache))) {
     __cache->__get_parent()->__left_ = nullptr;
-    __cache                     = 
static_cast<__node_pointer>(__cache->__get_parent());
+    __cache                          = 
static_cast<__node_pointer>(__cache->__get_parent());
     if (__cache->__right_ == nullptr)
       return __cache;
     return static_cast<__node_pointer>(std::__tree_leaf(__cache->__right_));

``````````

</details>


https://github.com/llvm/llvm-project/pull/147679
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to