[all-commits] [llvm/llvm-project] 042dc3: [libc++] add zip_view and views::zip for C++23
Hui via All-commits
all-commits at lists.llvm.org
Mon Apr 25 03:22:42 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 042dc3c46d730b3111189363463b431290e41f29
https://github.com/llvm/llvm-project/commit/042dc3c46d730b3111189363463b431290e41f29
Author: Hui Xie <hui.xie1990 at gmail.com>
Date: 2022-04-25 (Mon, 25 Apr 2022)
Changed paths:
M libcxx/docs/Status/ZipProjects.csv
M libcxx/include/CMakeLists.txt
A libcxx/include/__ranges/zip_view.h
M libcxx/include/module.modulemap
M libcxx/include/ranges
M libcxx/test/libcxx/private_headers.verify.cpp
M libcxx/test/std/ranges/range.adaptors/range.transform/ctor.default.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/begin.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/borrowing.compile.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/cpo.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/ctad.compile.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/ctor.default.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/ctor.views.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/end.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/general.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithmetic.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compare.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.default.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.other.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/decrement.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/deref.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/increment.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/iter_move.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/iter_swap.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/member_types.compile.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/singular.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/iterator/subscript.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/range.concept.compile.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.default.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.other.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/eq.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/minus.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/size.pass.cpp
A libcxx/test/std/ranges/range.adaptors/range.zip/types.h
Log Message:
-----------
[libc++] add zip_view and views::zip for C++23
- add zip_view and views::zip for C++23
- added unit tests
- implemented section 5.6 (zip) in P2321R2
I used clang-format to format the files but they look nothing like the rest of the code base. Manually indenting each line to match the styles sounds like an impossible task. Is there any clang-format file which can format it reasonable similar to the rest of the code base so that I can manually format the rest lines that look weird?
Reviewed By: ldionne, #libc, philnik, var-const
Spies: Mordante, philnik, libcxx-commits, mgorny
Differential Revision: https://reviews.llvm.org/D122806
More information about the All-commits
mailing list