Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
75fe088
[libc++][ranges] P2116R9: Implements `views::enumerate`
Zingam Jun 14, 2023
5d9b919
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Dec 20, 2023
bb520bc
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Dec 31, 2023
eb53557
WIP: Commented out improperly completed tests temporarily
Zingam Dec 31, 2023
8f922d1
WIP: Addressed comments
Zingam Dec 31, 2023
9a9f5d3
WIP: nothing
Zingam Jan 1, 2024
9d51f6c
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Jan 1, 2024
3b5f9f3
WIP: Address comment in `adaptor.pass.cpp`
Zingam Jan 1, 2024
20c59fb
WIP: tweak
Zingam Jan 1, 2024
963aa35
WIP: Addressed some comments
Zingam Jan 4, 2024
6c1146b
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Jan 4, 2024
2870bbe
REMOVED: Commented out broken test (Restore them later)
Zingam Jan 4, 2024
8a02a2e
WIP: Fixed formatting
Zingam Jan 4, 2024
2dccd6c
WIP: Addressed some comments
Zingam Jan 4, 2024
b922f91
WIP: Addressed comments in iterator/subscript
Zingam Jan 4, 2024
2d7982f
WIP: Updated iterator/artithmetic.pass
Zingam Jan 4, 2024
9cfed98
WIP: do not push
Zingam Jan 23, 2024
0c80538
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Feb 21, 2024
5089669
Fixed LLVM target version
Zingam Feb 21, 2024
44cb342
Fixed CI
Zingam Feb 21, 2024
b4813f0
Fixed formatting
Zingam Feb 21, 2024
2c66334
Refactoring
H-G-Hristov Feb 21, 2024
deda69d
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Mar 1, 2024
cc7e27a
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Mar 1, 2024
251e8ae
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov May 1, 2024
9c2019b
Generated files
H-G-Hristov May 1, 2024
35db57f
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov May 1, 2024
c176417
Mark members `[[nodiscard]] `
H-G-Hristov May 1, 2024
645b5ce
Mark more members as `[[nodiscard]] `
H-G-Hristov May 1, 2024
16f2c8c
More `[[nodiscard]] `
H-G-Hristov May 1, 2024
124eab9
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 19, 2024
ef591c5
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 19, 2024
d9bdafc
Updated Release Notes
H-G-Hristov Jul 19, 2024
28592f6
Merge remote-tracking branch 'origin/main' into hgh/libcxx/P2164R9-ra…
H-G-Hristov Jul 21, 2024
1ccf784
Fixed [[nodiscard]]
H-G-Hristov Jul 21, 2024
2757c72
Try again
H-G-Hristov Jul 21, 2024
459b1e5
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 21, 2024
4d9aa3f
Try again
H-G-Hristov Jul 21, 2024
44fc950
Removed excessive `[[nodiscard]]`, which is not practical on incremen…
H-G-Hristov Jul 21, 2024
805331b
Cleanup
H-G-Hristov Jul 22, 2024
cd1eb6b
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 22, 2024
856d129
Try to fix CI
H-G-Hristov Jul 22, 2024
0d1c1d8
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 22, 2024
5616879
WIP - nodiscard tests
H-G-Hristov Jul 23, 2024
547e1e5
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 23, 2024
43f0018
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 23, 2024
ab93ac3
WIP - nodiscard tests
H-G-Hristov Jul 23, 2024
62621dd
WIP - nodiscard tests
H-G-Hristov Jul 24, 2024
8b98539
WIP - nodiscard tests
H-G-Hristov Jul 24, 2024
7eb8c3a
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 24, 2024
82fd225
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 25, 2024
6f83477
WIP - nodiscard tests
H-G-Hristov Jul 25, 2024
a0551a5
Updated `nodiscard` tests
H-G-Hristov Jul 29, 2024
66b1019
Cleaned `nodiscard` tests
H-G-Hristov Jul 29, 2024
4e9c874
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 29, 2024
6449bc9
Minor tweaks
H-G-Hristov Jul 29, 2024
b6bceeb
Minor tweak
H-G-Hristov Jul 29, 2024
d537977
Formatting
H-G-Hristov Jul 29, 2024
d7e7c91
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Jul 29, 2024
b699d75
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Jul 30, 2024
1a1162d
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Oct 9, 2024
8f2d945
Post merge fixes
H-G-Hristov Oct 9, 2024
dd8cb11
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Oct 9, 2024
749357a
Post-merge fixes
H-G-Hristov Oct 9, 2024
daf5f9e
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Oct 9, 2024
9c20572
Try to fix build
H-G-Hristov Oct 9, 2024
4c5d08b
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
Zingam Oct 13, 2024
c6fed09
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Feb 18, 2025
a2ed592
Update status pages
H-G-Hristov Feb 18, 2025
4d86aaa
Fixed formatting
H-G-Hristov Feb 18, 2025
a103387
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Feb 18, 2025
f205395
Implemented LWG3919
H-G-Hristov Feb 18, 2025
31ddab0
Try to fix CI: mark internal aliases `_LIBCPP_NODEBUG`
H-G-Hristov Feb 18, 2025
12e9cbb
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Feb 18, 2025
1d21194
Try again
H-G-Hristov Feb 18, 2025
a5be216
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Feb 18, 2025
fbd197a
Try again
H-G-Hristov Feb 18, 2025
d3afb06
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Feb 18, 2025
6056552
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Mar 7, 2025
d98841b
Update libcxx/test/std/ranges/range.adaptors/range.enumerate/types.h
H-G-Hristov Mar 7, 2025
f964234
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov May 16, 2025
9406fee
Run generator scripts
H-G-Hristov May 16, 2025
80e3496
Apply frederick-js's suggestion to fix CI
H-G-Hristov May 16, 2025
cb285a1
Use new syntax `// REQUIRES: std-at-least-c++23`
H-G-Hristov May 16, 2025
da79bbc
Try to fix tests
H-G-Hristov May 16, 2025
7c0bf4f
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov May 16, 2025
a6b030a
Try again
H-G-Hristov May 16, 2025
bfb4ae6
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov May 16, 2025
9f630c4
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 22, 2025
790089c
LLVM22
H-G-Hristov Jul 22, 2025
3d95751
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jul 25, 2025
4c1eb2c
CPO test
H-G-Hristov Jul 25, 2025
dc183b0
Updated CPO test
H-G-Hristov Jul 25, 2025
b887a1b
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Sep 10, 2025
7216e59
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Dec 27, 2025
5b59777
Updated `[[nodiscard]]` test
H-G-Hristov Dec 27, 2025
a8c6045
Revert changes
H-G-Hristov Dec 27, 2025
efb93c5
Revert changes
H-G-Hristov Dec 27, 2025
1ae9922
Try CI
H-G-Hristov Dec 27, 2025
87a891a
Fix CI
H-G-Hristov Dec 27, 2025
45df8f1
Fixes
H-G-Hristov Dec 27, 2025
d719e9b
Addressed comments: index.pass.cpp
H-G-Hristov Dec 27, 2025
8c20494
Formatting
H-G-Hristov Dec 27, 2025
355cc80
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jan 13, 2026
a3511ff
Addressed somre view comments
H-G-Hristov Jan 13, 2026
9df976f
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jan 13, 2026
384adb2
Addressed some comments
H-G-Hristov Jan 13, 2026
4bbd73b
Updating `nodiscard.verify.cpp`
H-G-Hristov Jan 13, 2026
b697b8c
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Jan 14, 2026
6c155ed
Target LLVM23
H-G-Hristov Jan 15, 2026
c38aa1c
Address some comments
H-G-Hristov Feb 17, 2026
024d82e
Updated `arithmetic.pass.cpp`
H-G-Hristov Feb 21, 2026
aff8bfe
Updated `arithmetic.pass.cpp`
H-G-Hristov Feb 25, 2026
d85e93e
Updated `base.pass.cpp`
H-G-Hristov Feb 26, 2026
9981f94
Cleanup
H-G-Hristov Feb 26, 2026
518aad5
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Feb 26, 2026
7ff9bfa
Cleanup
H-G-Hristov Feb 26, 2026
ee7da83
Added missing `[[nodiscard]]`
H-G-Hristov Feb 26, 2026
ac1251e
Formatting
H-G-Hristov Feb 26, 2026
32a4223
Cleanup
H-G-Hristov Feb 26, 2026
03265b3
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Feb 26, 2026
eb55a23
Fix module include
H-G-Hristov Feb 26, 2026
567263f
Updated `compare.three_wasy.pass.cpp`
H-G-Hristov Mar 2, 2026
56858f4
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
H-G-Hristov Mar 2, 2026
989c33a
Make AIX64 not fail: `_ZNSt3__113__hash_memoryEPKvm`
H-G-Hristov Mar 2, 2026
00491df
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
ldionne Apr 21, 2026
56c24ab
Add missing includes
ldionne Apr 21, 2026
2925722
Move release note
ldionne Apr 21, 2026
f3e4ac8
Remove ABI list chagne
ldionne Apr 21, 2026
d06ceee
Removed the wrong one
ldionne Apr 21, 2026
1090f9b
Merge branch 'main' into hgh/libcxx/P2164R9-ranges-enumerate_view
ldionne Apr 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libcxx/docs/FeatureTestMacroTable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ Status
---------------------------------------------------------- -----------------
``__cpp_lib_ranges_contains`` ``202207L``
---------------------------------------------------------- -----------------
``__cpp_lib_ranges_enumerate`` ``202302L``
---------------------------------------------------------- -----------------
``__cpp_lib_ranges_find_last`` ``202207L``
---------------------------------------------------------- -----------------
``__cpp_lib_ranges_iota`` ``202202L``
Expand Down
1 change: 1 addition & 0 deletions libcxx/docs/ReleaseNotes/23.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Implemented Papers
- P4052R0: Renaming saturation arithmetic functions (`Github <https://llvm.org/PR189589>`__)
- P2781R9: ``std::constant_wrapper`` (`Github <https://llvm.org/PR148179>`__)
- P3978R3: ``constant_wrapper`` should unwrap on call and subscript (`Github <https://llvm.org/PR189605>`__)
- P2164R9: ``views::enumerate`` (`Github <https://llvm.org/PR105251>`__)

Improvements and New Features
-----------------------------
Expand Down
2 changes: 1 addition & 1 deletion libcxx/docs/Status/Cxx23Papers.csv
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"","","","","","",""
"`P0290R4 <https://wg21.link/P0290R4>`__","``apply()`` for ``synchronized_value<T>``","2023-02 (Issaquah)","","","`#105249 <https://github.com/llvm/llvm-project/issues/105249>`__",""
"`P2770R0 <https://wg21.link/P2770R0>`__","Stashing stashing ``iterators`` for proper flattening","2023-02 (Issaquah)","|Complete|","21","`#105250 <https://github.com/llvm/llvm-project/issues/105250>`__",""
"`P2164R9 <https://wg21.link/P2164R9>`__","``views::enumerate``","2023-02 (Issaquah)","","","`#105251 <https://github.com/llvm/llvm-project/issues/105251>`__",""
"`P2164R9 <https://wg21.link/P2164R9>`__","``views::enumerate``","2023-02 (Issaquah)","|Complete|","23","`#105251 <https://github.com/llvm/llvm-project/issues/105251>`__",""
"`P2711R1 <https://wg21.link/P2711R1>`__","Making multi-param constructors of ``views`` ``explicit``","2023-02 (Issaquah)","|Complete|","21","`#105252 <https://github.com/llvm/llvm-project/issues/105252>`__",""
"`P2609R3 <https://wg21.link/P2609R3>`__","Relaxing Ranges Just A Smidge","2023-02 (Issaquah)","|Complete|","20","`#105253 <https://github.com/llvm/llvm-project/issues/105253>`__","Implemented as a DR in C++20. Other implementations will do the same."
"`P2713R1 <https://wg21.link/P2713R1>`__","Escaping improvements in ``std::format``","2023-02 (Issaquah)","|Complete|","19","`#105254 <https://github.com/llvm/llvm-project/issues/105254>`__",""
Expand Down
6 changes: 3 additions & 3 deletions libcxx/docs/Status/Cxx2cIssues.csv
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"`LWG3903 <https://wg21.link/LWG3903>`__","span destructor is redundantly noexcept","2023-06 (Varna)","|Complete|","7","`#105275 <https://github.com/llvm/llvm-project/issues/105275>`__",""
"`LWG3904 <https://wg21.link/LWG3904>`__","``lazy_split_view::outer-iterator``'s const-converting constructor isn't setting ``trailing_empty_``","2023-06 (Varna)","","","`#105276 <https://github.com/llvm/llvm-project/issues/105276>`__",""
"`LWG3905 <https://wg21.link/LWG3905>`__","Type of ``std::fexcept_t``","2023-06 (Varna)","|Complete|","3.4","`#105277 <https://github.com/llvm/llvm-project/issues/105277>`__",""
"`LWG3912 <https://wg21.link/LWG3912>`__","``enumerate_view::iterator::operator-`` should be ``noexcept``","2023-06 (Varna)","","","`#105279 <https://github.com/llvm/llvm-project/issues/105279>`__",""
"`LWG3914 <https://wg21.link/LWG3914>`__","Inconsistent template-head of ``ranges::enumerate_view``","2023-06 (Varna)","","","`#105280 <https://github.com/llvm/llvm-project/issues/105280>`__",""
"`LWG3912 <https://wg21.link/LWG3912>`__","``enumerate_view::iterator::operator-`` should be ``noexcept``","2023-06 (Varna)","|Complete|","23","`#105279 <https://github.com/llvm/llvm-project/issues/105279>`__",""
"`LWG3914 <https://wg21.link/LWG3914>`__","Inconsistent template-head of ``ranges::enumerate_view``","2023-06 (Varna)","|Complete|","23","`#105280 <https://github.com/llvm/llvm-project/issues/105280>`__",""
"`LWG3915 <https://wg21.link/LWG3915>`__","Redundant paragraph about expression variations","2023-06 (Varna)","","","`#105281 <https://github.com/llvm/llvm-project/issues/105281>`__",""
"`LWG3925 <https://wg21.link/LWG3925>`__","Concept ``formattable``'s definition is incorrect","2023-06 (Varna)","|Complete|","17","`#105282 <https://github.com/llvm/llvm-project/issues/105282>`__",""
"`LWG3927 <https://wg21.link/LWG3927>`__","Unclear preconditions for ``operator[]`` for sequence containers","2023-06 (Varna)","|Nothing To Do|","","`#105283 <https://github.com/llvm/llvm-project/issues/105283>`__",""
Expand Down Expand Up @@ -41,7 +41,7 @@
"`LWG4001 <https://wg21.link/LWG4001>`__","``iota_view`` should provide ``empty``","2023-11 (Kona)","|Complete|","19","`#105311 <https://github.com/llvm/llvm-project/issues/105311>`__",""
"","","","","","",""
"`LWG3767 <https://wg21.link/LWG3767>`__","``codecvt<charN_t, char8_t, mbstate_t>`` incorrectly added to locale","2024-03 (Tokyo)","","","`#105313 <https://github.com/llvm/llvm-project/issues/105313>`__",""
"`LWG3919 <https://wg21.link/LWG3919>`__","``enumerate_view`` may invoke UB for sized common non-forward underlying ranges","2024-03 (Tokyo)","","","`#105315 <https://github.com/llvm/llvm-project/issues/105315>`__",""
"`LWG3919 <https://wg21.link/LWG3919>`__","``enumerate_view`` may invoke UB for sized common non-forward underlying ranges","2024-03 (Tokyo)","|Complete|","23","`#105315 <https://github.com/llvm/llvm-project/issues/105315>`__",""
"`LWG3950 <https://wg21.link/LWG3950>`__","``std::basic_string_view`` comparison operators are overspecified","2024-03 (Tokyo)","|Complete|","18","`#105316 <https://github.com/llvm/llvm-project/issues/105316>`__",""
"`LWG3975 <https://wg21.link/LWG3975>`__","Specializations of ``basic_format_context`` should not be permitted","2024-03 (Tokyo)","|Nothing To Do|","","`#105317 <https://github.com/llvm/llvm-project/issues/105317>`__",""
"`LWG3984 <https://wg21.link/LWG3984>`__","``ranges::to``'s recursion branch may be ill-formed","2024-03 (Tokyo)","|Complete|","19","`#105318 <https://github.com/llvm/llvm-project/issues/105318>`__",""
Expand Down
1 change: 1 addition & 0 deletions libcxx/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ set(files
__ranges/empty_view.h
__ranges/enable_borrowed_range.h
__ranges/enable_view.h
__ranges/enumerate_view.h
__ranges/filter_view.h
__ranges/from_range.h
__ranges/iota_view.h
Expand Down
Loading
Loading