summaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorNikolas Klauser <n_klauser@apple.com>2023-05-01 14:11:07 -0700
committerNikolas Klauser <n_klauser@apple.com>2023-05-01 14:11:39 -0700
commit5fc3db7da7901a65db5fd37886b00c22cd376e82 (patch)
treeb84052a1d81f919b663d066273c2ac6b8ad7bc91 /libcxx
parentb12b35ad4bec98c028a1926e4891e746b1f55d2f (diff)
downloadllvm-5fc3db7da7901a65db5fd37886b00c22cd376e82.tar.gz
[libc++][NFC] Fix synopsis in a few tests
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp2
-rw-r--r--libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp7
-rw-r--r--libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp4
3 files changed, 6 insertions, 7 deletions
diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp
index eab06883b4f0..5280970e6f54 100644
--- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/pstl.all_of.pass.cpp
@@ -13,7 +13,7 @@
// <algorithm>
// template<class ExecutionPolicy, class ForwardIterator, class Predicate>
-// bool any_of(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
+// bool all_of(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
// Predicate pred);
#include <algorithm>
diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp
index f6588af1225c..994563861b0f 100644
--- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/pstl.for_each_n.pass.cpp
@@ -12,10 +12,9 @@
// <algorithm>
-// template<class ExecutionPolicy, class ForwardIterator, class Function>
-// void for_each(ExecutionPolicy&& exec,
-// ForwardIterator first, ForwardIterator last,
-// Function f);
+// template<class ExecutionPolicy, class ForwardIterator, class Size, class Function>
+// ForwardIterator for_each_n(ExecutionPolicy&& exec, ForwardIterator first, Size n,
+// Function f);
#include <algorithm>
#include <atomic>
diff --git a/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp b/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp
index af9482b1f0c2..524bb8e652b0 100644
--- a/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/pstl.none_of.pass.cpp
@@ -11,8 +11,8 @@
// <algorithm>
// template<class ExecutionPolicy, class ForwardIterator, class Predicate>
-// bool any_of(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
-// Predicate pred);
+// bool none_of(ExecutionPolicy&& exec, ForwardIterator first, ForwardIterator last,
+// Predicate pred);
#include <algorithm>
#include <cassert>