Skip to content

Commit eb0996e

Browse files
committed
review
1 parent c12d3ad commit eb0996e

26 files changed

+98
-29
lines changed

libcxx/docs/ReleaseNotes/21.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Implemented Papers
5353
- P2711R1: Making multi-param constructors of ``views`` ``explicit`` (`Github <https://github.com/llvm/llvm-project/issues/105252>`__)
5454
- P2770R0: Stashing stashing ``iterators`` for proper flattening (`Github <https://github.com/llvm/llvm-project/issues/105250>`__)
5555
- P2655R3: ``common_reference_t`` of ``reference_wrapper`` Should Be a Reference Type (`Github <https://github.com/llvm/llvm-project/issues/105260>`__)
56-
- P2321R2: ``zip`` (`Github <https://github.com/llvm/llvm-project/issues/105169>`__) (The paper is partially implemented. ``zip_transform_view`` is implemented in this release)
5756

5857
Improvements and New Features
5958
-----------------------------

libcxx/docs/ReleaseNotes/22.rst

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
===========================================
2+
Libc++ 22.0.0 (In-Progress) Release Notes
3+
===========================================
4+
5+
.. contents::
6+
:local:
7+
:depth: 2
8+
9+
Written by the `Libc++ Team <https://libcxx.llvm.org>`_
10+
11+
.. warning::
12+
13+
These are in-progress notes for the upcoming libc++ 22.0.0 release.
14+
Release notes for previous releases can be found on
15+
`the Download Page <https://releases.llvm.org/download.html>`_.
16+
17+
Introduction
18+
============
19+
20+
This document contains the release notes for the libc++ C++ Standard Library,
21+
part of the LLVM Compiler Infrastructure, release 22.0.0. Here we describe the
22+
status of libc++ in some detail, including major improvements from the previous
23+
release and new feature work. For the general LLVM release notes, see `the LLVM
24+
documentation <https://llvm.org/docs/ReleaseNotes.html>`_. All LLVM releases may
25+
be downloaded from the `LLVM releases web site <https://llvm.org/releases/>`_.
26+
27+
For more information about libc++, please see the `Libc++ Web Site
28+
<https://libcxx.llvm.org>`_ or the `LLVM Web Site <https://llvm.org>`_.
29+
30+
Note that if you are reading this file from a Git checkout or the
31+
main Libc++ web page, this document applies to the *next* release, not
32+
the current one. To see the release notes for a specific release, please
33+
see the `releases page <https://llvm.org/releases/>`_.
34+
35+
What's New in Libc++ 22.0.0?
36+
==============================
37+
38+
Implemented Papers
39+
------------------
40+
41+
- P2321R2: ``zip`` (`Github <https://github.com/llvm/llvm-project/issues/105169>`__) (The paper is partially implemented. ``zip_transform_view`` is implemented in this release)
42+
43+
Improvements and New Features
44+
-----------------------------
45+
46+
47+
Deprecations and Removals
48+
-------------------------
49+
50+
51+
Potentially breaking changes
52+
----------------------------
53+
54+
55+
Announcements About Future Releases
56+
-----------------------------------
57+
58+
LLVM 23
59+
~~~~~~~
60+
61+
62+
ABI Affecting Changes
63+
---------------------
64+
65+
66+
Build System Changes
67+
--------------------
68+
69+
- TODO

libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ constexpr bool test(CPO& o, Args&&...) {
2626
static_assert(std::is_trivially_copyable_v<CPO>);
2727
static_assert(std::is_trivially_default_constructible_v<CPO>);
2828

29-
auto p = o;
29+
auto p = o;
3030
using T = decltype(p);
3131

3232
// The type of a customization point object, ignoring cv-qualifiers, shall model semiregular.
@@ -89,11 +89,12 @@ static_assert(test(std::views::counted, a, 10));
8989
static_assert(test(std::views::drop, a, 10));
9090
//static_assert(test(std::views::drop_while, a, [](int x){ return x < 10; }));
9191
//static_assert(test(std::views::elements<0>, pairs));
92-
static_assert(test(std::views::filter, a, [](int x){ return x < 10; }));
92+
static_assert(test(std::views::filter, a, [](int x) { return x < 10; }));
9393
static_assert(test(std::views::join, arrays));
9494
//static_assert(test(std::views::split, a, 4));
9595
static_assert(test(std::views::lazy_split, a, 4));
9696
static_assert(test(std::views::reverse, a));
9797
static_assert(test(std::views::take, a, 10));
9898
//static_assert(test(std::views::take_while, a, [](int x){ return x < 10; }));
99-
static_assert(test(std::views::transform, a, [](int x){ return x + 1; }));
99+
static_assert(test(std::views::transform, a, [](int x) { return x + 1; }));
100+
static_assert(test(std::views::zip_transform, [](int x, int y) { return x + y; }, a, a));

libcxx/test/std/ranges/range.adaptors/range.zip.transform/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "test_macros.h"
1616
#include "test_iterators.h"
1717
#include "test_range.h"
18-
#include "../types.h"
18+
#include "../range_adaptor_types.h"
1919

2020
#if TEST_STD_VER <= 20
2121
# error "range.zip.transform/types.h" can only be included in builds supporting C++20

libcxx/test/std/ranges/range.adaptors/range.zip/begin.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <tuple>
1919
#include <utility>
2020

21-
#include "../types.h"
21+
#include "../range_adaptor_types.h"
2222

2323
template <class T>
2424
concept HasConstBegin = requires(const T& ct) { ct.begin(); };

libcxx/test/std/ranges/range.adaptors/range.zip/cpo.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <type_traits>
1919
#include <utility>
2020

21-
#include "../types.h"
21+
#include "../range_adaptor_types.h"
2222

2323
static_assert(std::is_invocable_v<decltype((std::views::zip))>);
2424
static_assert(!std::is_invocable_v<decltype((std::views::zip)), int>);

libcxx/test/std/ranges/range.adaptors/range.zip/ctor.views.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <ranges>
1414
#include <tuple>
1515

16-
#include "../types.h"
16+
#include "../range_adaptor_types.h"
1717

1818
template <class T>
1919
void conversion_test(T);

libcxx/test/std/ranges/range.adaptors/range.zip/end.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <ranges>
1515
#include <tuple>
1616

17-
#include "../types.h"
17+
#include "../range_adaptor_types.h"
1818

1919
// ID | simple | common | bidi | random | sized | #views | v.end() | as_const(v)
2020
// | | | | access | | | | .end()

libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithmetic.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <concepts>
2626
#include <functional>
2727

28-
#include "../../types.h"
28+
#include "../../range_adaptor_types.h"
2929

3030
template <class T, class U>
3131
concept canPlusEqual = requires(T& t, U& u) { t += u; };

libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compare.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "test_iterators.h"
2020
#include "test_range.h"
2121

22-
#include "../../types.h"
22+
#include "../../range_adaptor_types.h"
2323

2424
// This is for testing that zip iterator never calls underlying iterator's >, >=, <=, !=.
2525
// The spec indicates that zip iterator's >= is negating zip iterator's < instead of calling underlying iterator's >=.

0 commit comments

Comments
 (0)