[libcxx-commits] [libcxx] WIP [libc++][ranges] P3060R3 Add std::views::indices(n) (PR #146823)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 3 00:02:32 PDT 2025


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 cpp,,h -- libcxx/test/std/ranges/range.factories/range.iota.view/indices.pass.cpp libcxx/include/__ranges/iota_view.h libcxx/include/ranges libcxx/include/version libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.compile.pass.cpp libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
``````````

</details>

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

``````````diff
diff --git a/libcxx/include/__ranges/iota_view.h b/libcxx/include/__ranges/iota_view.h
index c477fadce..7593de9fa 100644
--- a/libcxx/include/__ranges/iota_view.h
+++ b/libcxx/include/__ranges/iota_view.h
@@ -393,7 +393,6 @@ inline namespace __cpo {
 inline constexpr auto iota = __iota::__fn{};
 } // namespace __cpo
 
-
 #  if _LIBCPP_STD_VER >= 26
 
 inline constexpr auto indices = [](__integer_like auto __size) {

``````````

</details>


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


More information about the libcxx-commits mailing list