Skip to content

Commit 1fe5a61

Browse files
clang format
1 parent 9055304 commit 1fe5a61

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

libcxx/include/__ranges/concat_view.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,9 @@ namespace views {
621621
namespace __concat {
622622
struct __fn {
623623
template <input_range _Range>
624-
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Range&& __range) noexcept(
625-
noexcept(views::all((std::forward<_Range>(__range))))) -> decltype(views::all((std::forward<_Range>(__range)))) {
624+
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto
625+
operator()(_Range&& __range) noexcept(noexcept(views::all((std::forward<_Range>(__range)))))
626+
-> decltype(views::all((std::forward<_Range>(__range)))) {
626627
return views::all(std::forward<_Range>(__range));
627628
}
628629

libcxx/include/__ranges/concepts.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ concept __concatable = requires {
172172
typename __concat_rvalue_reference_t<_Rs...>;
173173
} && __concat_indirectly_readable<_Rs...>;
174174

175-
176-
177175
# endif // _LIBCPP_STD_VER >= 23
178176

179177
} // namespace ranges

libcxx/test/std/ranges/range.adaptors/range.concat/ctor.default.pass.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ constexpr bool tests() {
8686
test_with_more_than_one_view();
8787

8888
// Check cases where the default constructor isn't provided
89-
{ static_assert(!std::is_default_constructible_v<std::ranges::concat_view<NoDefaultView >>); }
89+
{
90+
static_assert(!std::is_default_constructible_v<std::ranges::concat_view<NoDefaultView >>);
91+
}
9092

9193
// Check noexcept-ness
9294
{

0 commit comments

Comments
 (0)