[libcxx-commits] [libcxx] [libc++][c++23] P2374: `views::cartesian_product` (PR #111215)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Oct 13 12:26:23 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 916e6ad7d0608a1de6b570483a82509640b210b8 934613049ff9fbbde42ba0bc311ca185201c5408 --extensions ,h,cpp -- libcxx/include/__ranges/cartesian_product_view.h libcxx/test/std/ranges/range.adaptors/range.cartesian.product.view/ctor.pass.cpp libcxx/test/std/ranges/range.adaptors/range.cartesian.product.view/size.pass.cpp libcxx/include/ranges
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libcxx/include/__ranges/cartesian_product_view.h b/libcxx/include/__ranges/cartesian_product_view.h
index 4903eb4773..e795c9f631 100644
--- a/libcxx/include/__ranges/cartesian_product_view.h
+++ b/libcxx/include/__ranges/cartesian_product_view.h
@@ -247,8 +247,8 @@ public:
}
private:
- using Parent = __maybe_const<Const, cartesian_product_view>;
- Parent* parent_ = nullptr;
+ using Parent = __maybe_const<Const, cartesian_product_view>;
+ Parent* parent_ = nullptr;
using MultiIterator = tuple<iterator_t<__maybe_const<Const, First>>, iterator_t<__maybe_const<Const, Vs>>...>;
MultiIterator current_;
``````````
</details>
https://github.com/llvm/llvm-project/pull/111215
More information about the libcxx-commits
mailing list