Skip to content

Commit 1209232

Browse files
committed
rebase
[libc++] implement adjacent_view ci ci ci ci Update libcxx/include/__ranges/zip_utils.h Co-authored-by: Louis Dionne <ldionne.2@gmail.com> review review benchmark format fix comma fix comma lwg4482 rebase error [LLVM][CMake] Build examples for llvm-test-depends Build examples and example plug-ins by default when running tests. If examples are unwanted, they can still be disabled completely using LLVM_INCLUDE_EXAMPLES=OFF. Plugin tests depend on examples and it is beneficial to test them by default. By default, Examples will still not be included in the default target or be installed, this remains controlled by LLVM_BUILD_EXAMPLES (which defaults to OFF). The additional cost for building examples for tests is 17 compilation units (12 C++, 5 C), which should be tolerable. I don't know how broken the examples currently are in the various build configurations, but if we find breakage, it would be good to fix it. Pull Request: #171998 Update libcxx/include/__ranges/adjacent_view.h Co-authored-by: Louis Dionne <ldionne.2@gmail.com> ? undo rebase ci
1 parent c81d449 commit 1209232

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+3892
-197
lines changed

libcxx/docs/ReleaseNotes/22.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Implemented Papers
3939
------------------
4040

4141
- P2321R2: ``zip`` (`Github <https://llvm.org/PR105169>`__) (The paper is partially implemented. ``zip_transform_view``
42-
is implemented in this release)
42+
and `adjacent_view` are implemented in this release)
4343
- P2988R12: ``std::optional<T&>`` (`Github <https://llvm.org/PR148131>`__)
4444
- P3044R2: sub-``string_view`` from ``string`` (`Github <https://llvm.org/PR148140>`__)
4545
- P3223R2: Making ``std::istream::ignore`` less surprising (`Github <https://llvm.org/PR148178>`__)

libcxx/include/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ set(files
700700
__random/uniform_real_distribution.h
701701
__random/weibull_distribution.h
702702
__ranges/access.h
703+
__ranges/adjacent_view.h
703704
__ranges/all.h
704705
__ranges/as_rvalue_view.h
705706
__ranges/chunk_by_view.h
@@ -788,6 +789,7 @@ set(files
788789
__tuple/tuple_like.h
789790
__tuple/tuple_like_no_subrange.h
790791
__tuple/tuple_size.h
792+
__tuple/tuple_transform.h
791793
__type_traits/add_cv_quals.h
792794
__type_traits/add_pointer.h
793795
__type_traits/add_reference.h

0 commit comments

Comments
 (0)