aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/CMakeLists.txt
diff options
context:
space:
mode:
authorChristopher Di Bella <cjdb@google.com>2023-12-19 21:57:50 -0800
committerGitHub <noreply@github.com>2023-12-19 21:57:50 -0800
commit3903438860b6eebf53a912c672560e1e55311220 (patch)
tree0ba9bb1c3e189e73a5f65eafcbed0205355480c3 /libcxx/include/CMakeLists.txt
parent037c220702802ea8f26c359c30b69a1c8d33ef0d (diff)
downloadllvm-3903438860b6eebf53a912c672560e1e55311220.zip
llvm-3903438860b6eebf53a912c672560e1e55311220.tar.gz
llvm-3903438860b6eebf53a912c672560e1e55311220.tar.bz2
[libcxx] adds ranges::fold_left_with_iter and ranges::fold_left (#75259)
Notable things in this commit: * refactors `__indirect_binary_left_foldable`, making it slightly different (but equivalent) to _`indirect-binary-left-foldable`_, which improves readability (a [patch to the Working Paper][patch] was made) * omits `__cpo` namespace, since it is not required for implementing niebloids (a cleanup should happen in 2024) * puts tests ensuring invocable robustness and dangling correctness inside the correctness testing to ensure that the algorithms' results are still correct [patch]: https://github.com/cplusplus/draft/pull/6734
Diffstat (limited to 'libcxx/include/CMakeLists.txt')
-rw-r--r--libcxx/include/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index f1e5a24..746d581 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -23,6 +23,7 @@ set(files
__algorithm/find_if.h
__algorithm/find_if_not.h
__algorithm/find_segment_if.h
+ __algorithm/fold.h
__algorithm/for_each.h
__algorithm/for_each_n.h
__algorithm/for_each_segment.h