[libcxx-commits] [libcxx] fc3923f - [libc++] Remove U+00AD SOFT HYPHEN from comments in tests. NFC.
Arthur O'Dwyer via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 14 07:32:12 PST 2022
Author: Arthur O'Dwyer
Date: 2022-02-14T10:26:25-05:00
New Revision: fc3923fab44c46e54b38066e4409ca94182a638a
URL: https://github.com/llvm/llvm-project/commit/fc3923fab44c46e54b38066e4409ca94182a638a
DIFF: https://github.com/llvm/llvm-project/commit/fc3923fab44c46e54b38066e4409ca94182a638a.diff
LOG: [libc++] Remove U+00AD SOFT HYPHEN from comments in tests. NFC.
git grep $(printf '\xc2\xad') ../libcxx
Added:
Modified:
libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ranges.swap_ranges.pass.cpp
libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp
libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
libcxx/test/std/ranges/range.adaptors/range.reverse/ctor.default.pass.cpp
libcxx/test/std/ranges/range.factories/range.iota.view/ctor.default.pass.cpp
libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ranges.swap_ranges.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ranges.swap_ranges.pass.cpp
index fd50678c99c80..bbd9643f95c7d 100644
--- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ranges.swap_ranges.pass.cpp
+++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ranges.swap_ranges.pass.cpp
@@ -12,12 +12,12 @@
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
-// template<input_iterator I1, sentinel_for<I1> S1, input_iterator I2, sentinel_for<I2> S2>
-// requires indirectly_swappable<I1, I2>
+// template<input_iterator I1, sentinel_for<I1> S1, input_iterator I2, sentinel_for<I2> S2>
+// requires indirectly_swappable<I1, I2>
// constexpr ranges::swap_ranges_result<I1, I2>
// ranges::swap_ranges(I1 first1, S1 last1, I2 first2, S2 last2);
-// template<input_range R1, input_range R2>
-// requires indirectly_swappable<iterator_t<R1>, iterator_t<R2>>
+// template<input_range R1, input_range R2>
+// requires indirectly_swappable<iterator_t<R1>, iterator_t<R2>>
// constexpr ranges::swap_ranges_result<borrowed_iterator_t<R1>, borrowed_iterator_t<R2>>
// ranges::swap_ranges(R1&& r1, R2&& r2);
diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp
index ff415cc4ea32b..1c29c8e3c252b 100644
--- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp
+++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/indirectinvocable/indirectly_comparable.compile.pass.cpp
@@ -10,7 +10,7 @@
// UNSUPPORTED: libcpp-no-concepts
// template<class I1, class I2, class R, class P1, class P2>
-// concept indirectly_comparable;
+// concept indirectly_comparable;
#include <functional>
#include <iterator>
diff --git a/libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp b/libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
index 19e7bb8c0205d..92029bea133f9 100644
--- a/libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
+++ b/libcxx/test/std/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
@@ -59,8 +59,8 @@ int main(int, char**)
static_assert(h.done() == false, "");
// [coroutine.handle.noop.resumption]p2
- // Remarks: If noop_coroutine_handle is converted to
- // coroutine_handle<>, calls to operator(), resume and
+ // Remarks: If noop_coroutine_handle is converted to
+ // coroutine_handle<>, calls to operator(), resume and
// destroy on that handle will also have no observable
// effects.
base.resume();
diff --git a/libcxx/test/std/ranges/range.adaptors/range.reverse/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.reverse/ctor.default.pass.cpp
index 55c693adb6eca..d7298724dd288 100644
--- a/libcxx/test/std/ranges/range.adaptors/range.reverse/ctor.default.pass.cpp
+++ b/libcxx/test/std/ranges/range.adaptors/range.reverse/ctor.default.pass.cpp
@@ -10,7 +10,7 @@
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
-// reverse_view() requires default_initializable<V> = default;
+// reverse_view() requires default_initializable<V> = default;
#include <ranges>
#include <cassert>
diff --git a/libcxx/test/std/ranges/range.factories/range.iota.view/ctor.default.pass.cpp b/libcxx/test/std/ranges/range.factories/range.iota.view/ctor.default.pass.cpp
index 724656429f7d6..023427f3e43ad 100644
--- a/libcxx/test/std/ranges/range.factories/range.iota.view/ctor.default.pass.cpp
+++ b/libcxx/test/std/ranges/range.factories/range.iota.view/ctor.default.pass.cpp
@@ -10,7 +10,7 @@
// UNSUPPORTED: libcpp-no-concepts
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
-// iota_view() requires default_initializable<W> = default;
+// iota_view() requires default_initializable<W> = default;
#include <ranges>
#include <cassert>
diff --git a/libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp b/libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp
index 6fd02878ca655..be58b9876ea28 100644
--- a/libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp
+++ b/libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp
@@ -11,9 +11,9 @@
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
// friend constexpr iter_
diff erence_t<W> operator-(const iterator& x, const sentinel& y)
-// requires sized_sentinel_for<Bound, W>;
+// requires sized_sentinel_for<Bound, W>;
// friend constexpr iter_
diff erence_t<W> operator-(const sentinel& x, const iterator& y)
-// requires sized_sentinel_for<Bound, W>;
+// requires sized_sentinel_for<Bound, W>;
#include <ranges>
#include <cassert>
More information about the libcxx-commits
mailing list