[libcxx-commits] [libcxx] abf9144 - [libcxx][test] Fix typos (#155217)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 25 03:02:56 PDT 2025
Author: Stephan T. Lavavej
Date: 2025-08-25T03:02:51-07:00
New Revision: abf91449a3d4896d11aa7bea3a9acede614ce778
URL: https://github.com/llvm/llvm-project/commit/abf91449a3d4896d11aa7bea3a9acede614ce778
DIFF: https://github.com/llvm/llvm-project/commit/abf91449a3d4896d11aa7bea3a9acede614ce778.diff
LOG: [libcxx][test] Fix typos (#155217)
I noticed a typo in the directory name `refwrap.comparissons`, then did
a quick pass to fix typos elsewhere in the tests.
All fixes were manual (some carefully search-and-replaced); I used
[cspell](https://www.npmjs.com/package/cspell) to find them.
Added:
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.const_ref.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.refwrap.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.refwrap_const.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.const_ref.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.refwrap.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.refwrap_const.pass.cpp
Modified:
libcxx/test/std/algorithms/algorithms.results/out_value_result.pass.cpp
libcxx/test/std/atomics/types.pass.cpp
libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
libcxx/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp
libcxx/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp
libcxx/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp
libcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp
libcxx/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp
libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit_exceptions.pass.cpp
libcxx/test/std/containers/views/mdspan/aligned_accessor/access.pass.cpp
libcxx/test/std/containers/views/mdspan/aligned_accessor/offset.pass.cpp
libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp
libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp
libcxx/test/std/input.output/filesystems/class.rec.dir.itr/cache_refresh_iter.pass.cpp
libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp
libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
libcxx/test/std/numerics/c.math/hermite.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/and_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/divide_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/minus_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/modulo_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/or_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/plus_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_left_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_right_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/times_valarray.pass.cpp
libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/xor_valarray.pass.cpp
libcxx/test/std/ranges/range.adaptors/range.zip.transform/general.pass.cpp
libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
libcxx/test/std/thread/thread.jthread/assign.move.pass.cpp
libcxx/test/std/time/time.hms/time.hms.nonmembers/ostream.pass.cpp
libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp
libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
libcxx/test/std/time/time.zone/time.zone.zonedtime/types.compile.pass.cpp
libcxx/test/std/utilities/charconv/charconv.from.chars/floating_point.pass.cpp
libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr.general.pass.cpp
libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr.general.pass.cpp
libcxx/test/std/utilities/smartptr/adapt/types.h
libcxx/test/std/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
Removed:
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.const_ref.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap_const.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.const_ref.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap.pass.cpp
libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap_const.pass.cpp
################################################################################
diff --git a/libcxx/test/std/algorithms/algorithms.results/out_value_result.pass.cpp b/libcxx/test/std/algorithms/algorithms.results/out_value_result.pass.cpp
index 7bdbb7f60e9a2..9f45976c29681 100644
--- a/libcxx/test/std/algorithms/algorithms.results/out_value_result.pass.cpp
+++ b/libcxx/test/std/algorithms/algorithms.results/out_value_result.pass.cpp
@@ -123,7 +123,7 @@ constexpr bool test() {
static_assert(std::is_same_v<double, decltype(res.value)>);
}
{
- // Check aggregate initiazliation
+ // Check aggregate initialization
out_value_result<int, int> res = {1, 2};
assert(res.out == 1);
assert(res.value == 2);
diff --git a/libcxx/test/std/atomics/types.pass.cpp b/libcxx/test/std/atomics/types.pass.cpp
index 8737694e2a070..c979392290b35 100644
--- a/libcxx/test/std/atomics/types.pass.cpp
+++ b/libcxx/test/std/atomics/types.pass.cpp
@@ -68,7 +68,7 @@ struct test_atomic<T, /*Integral=*/true, false, false> {
};
template <class T>
-struct test_atomic<T, false, /*Foating=*/true, false> {
+struct test_atomic<T, false, /*Floating=*/true, false> {
test_atomic() {
using A = std::atomic<T>;
A a;
diff --git a/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp b/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
index e01a10b679ac6..56c6cdd7e1e99 100644
--- a/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
+++ b/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp
@@ -70,7 +70,7 @@ template <class Alloc, class AllocatorInvariant = NoOp>
void test_alloc(const Alloc& lhs_alloc = Alloc(),
const Alloc& rhs_alloc = Alloc(),
AllocatorInvariant check_alloc_invariant = NoOp()) {
- { // Test empty/non-empy map combinations
+ { // Test empty/non-empty map combinations
{ // assign from a non-empty container into an empty one
using V = std::pair<const int, int>;
using Map = std::map<int, int, std::less<int>, Alloc>;
@@ -225,7 +225,7 @@ void test_alloc(const Alloc& lhs_alloc = Alloc(),
}
check_alloc_invariant();
}
- { // Make a somewhat larget set to exercise the algorithm a bit
+ { // Make a somewhat larger set to exercise the algorithm a bit
using V = std::pair<const int, int>;
using Map = std::map<int, int, std::less<int>, Alloc>;
diff --git a/libcxx/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp b/libcxx/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp
index 5830283e9b0c5..e52da3a4a6313 100644
--- a/libcxx/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp
+++ b/libcxx/test/std/containers/associative/multimap/multimap.cons/copy_assign.pass.cpp
@@ -68,7 +68,7 @@ template <class Alloc, class AllocatorInvariant = NoOp>
void test_alloc(const Alloc& lhs_alloc = Alloc(),
const Alloc& rhs_alloc = Alloc(),
AllocatorInvariant check_alloc_invariant = NoOp()) {
- { // Test empty/non-empy multimap combinations
+ { // Test empty/non-empty multimap combinations
{ // assign from a non-empty container into an empty one
using V = std::pair<const int, int>;
using Map = std::multimap<int, int, std::less<int>, Alloc>;
@@ -223,7 +223,7 @@ void test_alloc(const Alloc& lhs_alloc = Alloc(),
}
check_alloc_invariant();
}
- { // Make a somewhat larget set to exercise the algorithm a bit
+ { // Make a somewhat larger set to exercise the algorithm a bit
using V = std::pair<const int, int>;
using Map = std::multimap<int, int, std::less<int>, Alloc>;
diff --git a/libcxx/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp b/libcxx/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp
index 8511f05ab57e4..0a5fe62eed69e 100644
--- a/libcxx/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp
+++ b/libcxx/test/std/containers/associative/multiset/multiset.cons/copy_assign.pass.cpp
@@ -68,7 +68,7 @@ template <class Alloc, class AllocatorInvariant = NoOp>
void test_alloc(const Alloc& lhs_alloc = Alloc(),
const Alloc& rhs_alloc = Alloc(),
AllocatorInvariant check_alloc_invariant = NoOp()) {
- { // Test empty/non-empy multiset combinations
+ { // Test empty/non-empty multiset combinations
{ // assign from a non-empty container into an empty one
using Set = std::multiset<int, std::less<int>, Alloc>;
@@ -216,7 +216,7 @@ void test_alloc(const Alloc& lhs_alloc = Alloc(),
assert(std::next(orig.begin(), 3) == orig.end());
}
check_alloc_invariant();
- { // Make a somewhat larget multiset to exercise the algorithm a bit
+ { // Make a somewhat larger multiset to exercise the algorithm a bit
using Set = std::multiset<int, std::less<int>, Alloc>;
Set orig(rhs_alloc);
diff --git a/libcxx/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp b/libcxx/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp
index 85bc4e761f2c3..dd1dbc86190f8 100644
--- a/libcxx/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp
+++ b/libcxx/test/std/containers/associative/set/set.cons/copy_assign.pass.cpp
@@ -70,7 +70,7 @@ template <class Alloc, class AllocatorInvariant = NoOp>
void test_alloc(const Alloc& lhs_alloc = Alloc(),
const Alloc& rhs_alloc = Alloc(),
AllocatorInvariant check_alloc_invariant = NoOp()) {
- { // Test empty/non-empy set combinations
+ { // Test empty/non-empty set combinations
{ // assign from a non-empty container into an empty one
using Set = std::set<int, std::less<int>, Alloc>;
@@ -218,7 +218,7 @@ void test_alloc(const Alloc& lhs_alloc = Alloc(),
assert(std::next(orig.begin(), 3) == orig.end());
}
check_alloc_invariant();
- { // Make a somewhat larget set to exercise the algorithm a bit
+ { // Make a somewhat larger set to exercise the algorithm a bit
using Set = std::set<int, std::less<int>, Alloc>;
Set orig(rhs_alloc);
diff --git a/libcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp b/libcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp
index 0bca4299c8516..6d5427f3e3637 100644
--- a/libcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp
@@ -20,7 +20,7 @@ struct NoDefault {
struct test_initialization {
template <typename T>
TEST_CONSTEXPR_CXX14 void operator()() const {
- // Check default initalization
+ // Check default initialization
{
std::array<T, 0> a0;
(void)a0;
diff --git a/libcxx/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp b/libcxx/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp
index a3f44f33028e4..af57e5ffc5cf9 100644
--- a/libcxx/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp
+++ b/libcxx/test/std/containers/sequences/vector/vector.capacity/max_size.pass.cpp
@@ -66,7 +66,7 @@ TEST_CONSTEXPR_CXX20 bool tests() {
#if TEST_STD_VER >= 11
- // Test with various allocators and
diff rent size_type
+ // Test with various allocators and
diff erent size_type
{
test(std::vector<int>());
test(std::vector<short, std::allocator<short> >());
diff --git a/libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit_exceptions.pass.cpp b/libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit_exceptions.pass.cpp
index 521a25fdeda0f..0bc3387e26b87 100644
--- a/libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit_exceptions.pass.cpp
+++ b/libcxx/test/std/containers/sequences/vector/vector.capacity/shrink_to_fit_exceptions.pass.cpp
@@ -39,7 +39,7 @@ void test_allocation_exception_for_strong_guarantee(std::vector<T, Alloc>& v, co
} catch (...) {
}
- // As shrink_to_fit may swallow any exceptions, we place the checks outisde the catch block.
+ // As shrink_to_fit may swallow any exceptions, we place the checks outside the catch block.
assert(v.data() == old_data);
assert(v.size() == old_size);
assert(v.capacity() == old_cap);
diff --git a/libcxx/test/std/containers/views/mdspan/aligned_accessor/access.pass.cpp b/libcxx/test/std/containers/views/mdspan/aligned_accessor/access.pass.cpp
index deca1226e47ca..91a910899abcb 100644
--- a/libcxx/test/std/containers/views/mdspan/aligned_accessor/access.pass.cpp
+++ b/libcxx/test/std/containers/views/mdspan/aligned_accessor/access.pass.cpp
@@ -23,7 +23,7 @@
#include "test_macros.h"
// We are not using MinimalElementType.h because MinimalElementType is not
-// default consructible and uninitialized storage does not work in constexpr.
+// default constructible and uninitialized storage does not work in constexpr.
// Same as MinimalElementType but with a defaulted default constructor
struct MyMinimalElementType {
diff --git a/libcxx/test/std/containers/views/mdspan/aligned_accessor/offset.pass.cpp b/libcxx/test/std/containers/views/mdspan/aligned_accessor/offset.pass.cpp
index 66c30da787a8d..3ed8cd7520176 100644
--- a/libcxx/test/std/containers/views/mdspan/aligned_accessor/offset.pass.cpp
+++ b/libcxx/test/std/containers/views/mdspan/aligned_accessor/offset.pass.cpp
@@ -23,7 +23,7 @@
#include "test_macros.h"
// We are not using MinimalElementType.h because MinimalElementType is not
-// default consructible and uninitialized storage does not work in constexpr.
+// default constructible and uninitialized storage does not work in constexpr.
// Same as MinimalElementType but with a defaulted default constructor
struct MyMinimalElementType {
diff --git a/libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp b/libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp
index bc76e23fea3c0..b413b71ec9458 100644
--- a/libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp
+++ b/libcxx/test/std/containers/views/views.span/span.cons/initializer_list.pass.cpp
@@ -34,7 +34,7 @@ static_assert(!ConstElementType<std::span<int>>);
static_assert(ConstElementType<std::span<const int, 94>>);
static_assert(!ConstElementType<std::span<int, 94>>);
-// Constructor constraings
+// Constructor constraints
template <typename I, typename T, std::size_t... N>
concept HasInitializerListCtr = requires(I il) { std::span<T, N...>{il}; };
diff --git a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp
index 3bebf38a2a7c3..56e35736d4f78 100644
--- a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp
@@ -132,7 +132,7 @@ void test_compare_basic() {
AssertOrderReturn<std::strong_ordering, path>();
#endif
- // check comarison results
+ // check comparison results
assert(testComparisons(p1, p2, /*isEqual*/ E == 0, /*isLess*/ E < 0));
#if TEST_STD_VER > 17
assert(testOrder(p1, p2, E <=> 0));
diff --git a/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/cache_refresh_iter.pass.cpp b/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/cache_refresh_iter.pass.cpp
index 3d45828968de9..ff7035096e702 100644
--- a/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/cache_refresh_iter.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/cache_refresh_iter.pass.cpp
@@ -147,7 +147,7 @@ static void test_cached_values_in_iteration() {
const std::set<fs::path> dir_contents(static_env.RecDirIterationList.begin(), static_env.RecDirIterationList.end());
dir_entries = get_directory_entries_for(testDir, dir_contents);
}
- // Testing folder should be deleted after destoying static_test_env.
+ // Testing folder should be deleted after destroying static_test_env.
for (const auto& dir_entry : dir_entries) {
// During iteration Windows provides information only about symlink itself
diff --git a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp
index 06d1171c370a5..7ab92660fb068 100644
--- a/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp
+++ b/libcxx/test/std/iterators/iterator.requirements/indirectcallable/projected/projected.compile.pass.cpp
@@ -61,4 +61,4 @@ constexpr bool projectable = requires {
static_assert(!projectable<int, void (*)(int)>); // int isn't indirectly_readable
static_assert(!projectable<S, void (*)(int)>); // S isn't weakly_incrementable
-static_assert(!projectable<int*, void(int)>); // void(int) doesn't satisfy indirectly_regular_unary_invcable
+static_assert(!projectable<int*, void(int)>); // void(int) doesn't satisfy indirectly_regular_unary_invocable
diff --git a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
index 050f4ac7cc6d5..7474a8d3dde96 100644
--- a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
+++ b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
@@ -27,9 +27,9 @@ TEST_CONSTEXPR_CXX14 bool test_constexpr() {
return true;
}
-struct thowing_copy_constructor {
- thowing_copy_constructor() {}
- thowing_copy_constructor(const thowing_copy_constructor&) TEST_NOEXCEPT_FALSE {}
+struct throwing_copy_constructor {
+ throwing_copy_constructor() {}
+ throwing_copy_constructor(const throwing_copy_constructor&) TEST_NOEXCEPT_FALSE {}
};
int main(int, char**)
@@ -43,11 +43,11 @@ int main(int, char**)
#endif
}
{
- std::istream_iterator<thowing_copy_constructor> io;
- std::istream_iterator<thowing_copy_constructor> i = io;
- assert(i == std::istream_iterator<thowing_copy_constructor>());
+ std::istream_iterator<throwing_copy_constructor> io;
+ std::istream_iterator<throwing_copy_constructor> i = io;
+ assert(i == std::istream_iterator<throwing_copy_constructor>());
#if TEST_STD_VER >= 11
- static_assert(!std::is_nothrow_copy_constructible<std::istream_iterator<thowing_copy_constructor>>::value, "");
+ static_assert(!std::is_nothrow_copy_constructible<std::istream_iterator<throwing_copy_constructor>>::value, "");
#endif
}
{
diff --git a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
index 06a974ad1bee0..8db40b9e0dcbc 100644
--- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.hex.pass.cpp
@@ -1858,7 +1858,7 @@ void test2() {
// 64 mantissa bits are grouped by nibble as they are stored in the long
// double representation (nibble aligned at the end of the least significant
// bits). This makes 1.0L to be formatted as "0x8p-3" (where the leading
- // bit of the mantissa is the higest bit in the 0x8 nibble), and makes
+ // bit of the mantissa is the highest bit in the 0x8 nibble), and makes
// __LDBL_MAX__ be formatted as "0xf.fffffffffffffffp+16380".
//
// FreeBSD normalizes/aligns the leading bit of the mantissa as a separate
diff --git a/libcxx/test/std/numerics/c.math/hermite.pass.cpp b/libcxx/test/std/numerics/c.math/hermite.pass.cpp
index f1a37c5ddc15d..2905950942581 100644
--- a/libcxx/test/std/numerics/c.math/hermite.pass.cpp
+++ b/libcxx/test/std/numerics/c.math/hermite.pass.cpp
@@ -319,7 +319,7 @@ void test() {
static_assert(sizeof(double) == 8);
for (unsigned n = 0; n < get_maximal_order<Real>(); ++n) {
// Q: Why n=111 and x=300?
- // A: Both are chosen s.t. the first overlow occurs for some `n<get_maximal_order<Real>()`.
+ // A: Both are chosen s.t. the first overflow occurs for some `n<get_maximal_order<Real>()`.
if (n < 111) {
assert(std::isfinite(std::hermite(n, +300.0)));
assert(std::isfinite(std::hermite(n, -300.0)));
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/and_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/and_valarray.pass.cpp
index 15a2b03bf84bf..594b99bc09583 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/and_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/and_valarray.pass.cpp
@@ -21,7 +21,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// Validate the function works for valarray, the proxies, and __val_expr.
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/divide_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/divide_valarray.pass.cpp
index e4fe675a9ec38..8c1fb2afd96fa 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/divide_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/divide_valarray.pass.cpp
@@ -21,7 +21,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// Validate the function works for valarray, the proxies, and __val_expr.
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/minus_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/minus_valarray.pass.cpp
index 54aa7fd4c269f..6e13d2618b6bb 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/minus_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/minus_valarray.pass.cpp
@@ -21,7 +21,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// Validate the function works for valarray, the proxies, and __val_expr.
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/modulo_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/modulo_valarray.pass.cpp
index e52097ae68e21..1246ab35547bf 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/modulo_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/modulo_valarray.pass.cpp
@@ -21,7 +21,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// Validate the function works for valarray, the proxies, and __val_expr.
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/or_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/or_valarray.pass.cpp
index 429953e272b61..9387fccbf1538 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/or_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/or_valarray.pass.cpp
@@ -21,7 +21,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// Validate the function works for valarray, the proxies, and __val_expr.
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/plus_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/plus_valarray.pass.cpp
index 6aacf4f68b98f..d1737a016e53c 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/plus_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/plus_valarray.pass.cpp
@@ -21,7 +21,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// Validate the function works for valarray, the proxies, and __val_expr.
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_left_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_left_valarray.pass.cpp
index 3ff264308f882..cb1af636cde5b 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_left_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_left_valarray.pass.cpp
@@ -19,7 +19,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// Validate the function works for valarray, the proxies, and __val_expr.
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_right_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_right_valarray.pass.cpp
index 140ec4dad5f42..11bbf01ea6876 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_right_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/shift_right_valarray.pass.cpp
@@ -19,7 +19,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// valarray& operator>>=(const valarray& v);
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/times_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/times_valarray.pass.cpp
index 58361fa697b6f..10333ee910299 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/times_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/times_valarray.pass.cpp
@@ -19,7 +19,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// valarray& operator*=(const valarray& v);
diff --git a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/xor_valarray.pass.cpp b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/xor_valarray.pass.cpp
index 0b3ffe4f93244..484189e806beb 100644
--- a/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/xor_valarray.pass.cpp
+++ b/libcxx/test/std/numerics/numarray/template.valarray/valarray.cassign/xor_valarray.pass.cpp
@@ -19,7 +19,7 @@
//
// The const overloads of
// valarray::operator[](...) const
-// return propxy objects. These proxies are implicitly convertible to
+// return proxy objects. These proxies are implicitly convertible to
// std::valarray.
//
// valarray& operator^=(const valarray& v);
diff --git a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/general.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/general.pass.cpp
index 3c35de27deb69..4b057946abba2 100644
--- a/libcxx/test/std/ranges/range.adaptors/range.zip.transform/general.pass.cpp
+++ b/libcxx/test/std/ranges/range.adaptors/range.zip.transform/general.pass.cpp
@@ -8,7 +8,7 @@
// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20
-// Some basic examples of how zip_tranform_view might be used in the wild. This is a general
+// Some basic examples of how zip_transform_view might be used in the wild. This is a general
// collection of sample algorithms and functions that try to mock general usage of
// this view.
diff --git a/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp b/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
index 4e087fd4226d1..70009589e985b 100644
--- a/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.async/thread_create_failure.pass.cpp
@@ -8,7 +8,7 @@
//
// UNSUPPORTED: no-threads, no-exceptions
-// ASan seems to try to create threadsm which obviouly doesn't work in this test.
+// ASan seems to try to create threadsm which obviously doesn't work in this test.
// UNSUPPORTED: asan, hwasan
// UNSUPPORTED: c++03
diff --git a/libcxx/test/std/thread/thread.jthread/assign.move.pass.cpp b/libcxx/test/std/thread/thread.jthread/assign.move.pass.cpp
index fd5a1705c56ae..8527af1344e27 100644
--- a/libcxx/test/std/thread/thread.jthread/assign.move.pass.cpp
+++ b/libcxx/test/std/thread/thread.jthread/assign.move.pass.cpp
@@ -112,7 +112,7 @@ int main(int, char**) {
assert(j1.get_id() == j2Id);
}
- // LWG3788: self-assignement
+ // LWG3788: self-assignment
{
std::jthread j = support::make_test_jthread([] {});
auto oldId = j.get_id();
diff --git a/libcxx/test/std/time/time.hms/time.hms.nonmembers/ostream.pass.cpp b/libcxx/test/std/time/time.hms/time.hms.nonmembers/ostream.pass.cpp
index 6ee419fc07c0e..e281098de55d0 100644
--- a/libcxx/test/std/time/time.hms/time.hms.nonmembers/ostream.pass.cpp
+++ b/libcxx/test/std/time/time.hms/time.hms.nonmembers/ostream.pass.cpp
@@ -63,7 +63,7 @@ template <class CharT>
static void test() {
// Note std::atto can't be tested since the ratio conversion from std::atto
// std::chrono::seconds to std::chrono::hours overflows when intmax_t is a
- // 64-bit type. This is a limitiation in the constructor of
+ // 64-bit type. This is a limitation in the constructor of
// std::chrono::hh_mm_ss.
// C locale - integral power of 10 ratios
diff --git a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
index 76dd8bc746fcd..1d0234468f419 100644
--- a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
+++ b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.local_time.pass.cpp
@@ -1017,8 +1017,8 @@ static void test_europe_dublin() {
static void test_america_st_johns() {
// A more typical entry,
- // Uses letters both when DST is ative and not and has multiple
- // letters. Uses negetive offsets.
+ // Uses letters both when DST is active and not and has multiple
+ // letters. Uses negative offsets.
// Switches several times between their own and Canadian rules
// Switches the stdoff from -3:30:52 to -3:30 while observing the same rule
diff --git a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp
index 1a1705d5ae59a..1924af4bd6718 100644
--- a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp
+++ b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/get_info.sys_time.pass.cpp
@@ -34,7 +34,7 @@
// The data in the tests can be validated by using the zdump tool. For
// example
// zdump -v Asia/Hong_Kong
-// show all transistions in the Hong Kong time zone. Or
+// show all transitions in the Hong Kong time zone. Or
// zdump -c1970,1980 -v Asia/Hong_Kong
// shows all transitions in Hong Kong between 1970 and 1980.
@@ -177,7 +177,7 @@ static void test_antarctica_syowa() {
// This change uses an ON field with a day number
//
// There don't seem to be rule-less zones that use last day or a
- // contrained day
+ // constrained day
// Z Antarctica/Syowa 0 - -00 1957 Ja 29
// 3 - +03
@@ -605,8 +605,8 @@ static void test_europe_berlin() {
static void test_america_st_johns() {
// A more typical entry,
- // Uses letters both when DST is ative and not and has multiple
- // letters. Uses negetive offsets.
+ // Uses letters both when DST is active and not and has multiple
+ // letters. Uses negative offsets.
// Switches several times between their own and Canadian rules
// Switches the stdoff from -3:30:52 to -3:30 while observing the same rule
@@ -1036,7 +1036,7 @@ static void test_africa_freetown() {
using namespace std::literals::chrono_literals;
const std::chrono::time_zone* tz = std::chrono::locate_zone("Africa/Freetown");
- // When a continuation has a named rule, the tranisition time determined by
+ // When a continuation has a named rule, the transition time determined by
// the active rule can be wrong. The next continuation may set the clock to an
// earlier time. This is tested for San Luis. This tests the rule is not used
// when the rule is not a named rule.
diff --git a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
index 1147c9fadf9ae..b2dbdb1bb66bb 100644
--- a/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
+++ b/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp
@@ -141,7 +141,7 @@ static void test_ambiguous() {
assert(tz->to_sys(time + 0ms, std::chrono::choose::earliest) == earlier);
assert(tz->to_sys(time + 0s, std::chrono::choose::latest) == later);
- // Test times in the ambigious hour
+ // Test times in the ambiguous hour
assert(tz->to_sys(time + 1s, std::chrono::choose::earliest) == earlier + 1s);
assert(tz->to_sys(time + 1min, std::chrono::choose::latest) == later + 1min);
assert(tz->to_sys(time + 30min, std::chrono::choose::earliest) == earlier + 30min);
diff --git a/libcxx/test/std/time/time.zone/time.zone.zonedtime/types.compile.pass.cpp b/libcxx/test/std/time/time.zone/time.zone.zonedtime/types.compile.pass.cpp
index 497da859265c2..96f17b38f862b 100644
--- a/libcxx/test/std/time/time.zone/time.zone.zonedtime/types.compile.pass.cpp
+++ b/libcxx/test/std/time/time.zone/time.zone.zonedtime/types.compile.pass.cpp
@@ -58,7 +58,7 @@ static_assert(std::is_copy_assignable_v<std::chrono::zoned_time<std::chrono::day
static_assert(std::is_move_assignable_v<std::chrono::zoned_time<std::chrono::days, int>>);
// Test with a move only type, since the copy constructor is defined, no move
-// constuctor is generated.
+// constructor is generated.
static_assert(!std::is_copy_constructible_v<std::chrono::zoned_time< std::chrono::days, std::unique_ptr<int>>>);
static_assert(!std::is_move_constructible_v<std::chrono::zoned_time< std::chrono::days, std::unique_ptr<int>>>);
static_assert(!std::is_copy_assignable_v<std::chrono::zoned_time< std::chrono::days, std::unique_ptr<int>>>);
diff --git a/libcxx/test/std/utilities/charconv/charconv.from.chars/floating_point.pass.cpp b/libcxx/test/std/utilities/charconv/charconv.from.chars/floating_point.pass.cpp
index 6faf0499c4c9b..a02c7ac466f04 100644
--- a/libcxx/test/std/utilities/charconv/charconv.from.chars/floating_point.pass.cpp
+++ b/libcxx/test/std/utilities/charconv/charconv.from.chars/floating_point.pass.cpp
@@ -396,7 +396,7 @@ struct test_fixed {
assert(x == F(-0.5));
}
- { // double deciamal point
+ { // double decimal point
const char* s = "1.25.78";
// This number is halfway between two float values.
@@ -405,7 +405,7 @@ struct test_fixed {
assert(r.ptr == s + 4);
assert(x == F(1.25));
}
- { // exponenent no sign
+ { // exponent no sign
const char* s = "1.5e10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::fixed);
@@ -413,7 +413,7 @@ struct test_fixed {
assert(r.ptr == s + 3);
assert(x == F(1.5));
}
- { // exponenent capitalized no sign
+ { // exponent capitalized no sign
const char* s = "1.5E10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::fixed);
@@ -421,7 +421,7 @@ struct test_fixed {
assert(r.ptr == s + 3);
assert(x == F(1.5));
}
- { // exponenent + sign
+ { // exponent + sign
const char* s = "1.5e+10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::fixed);
@@ -429,7 +429,7 @@ struct test_fixed {
assert(r.ptr == s + 3);
assert(x == F(1.5));
}
- { // exponenent - sign
+ { // exponent - sign
const char* s = "1.5e-10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::fixed);
@@ -739,7 +739,7 @@ struct test_scientific {
assert(x == F(1.0));
}
- { // double deciamal point
+ { // double decimal point
const char* s = "1.25e0.78";
// This number is halfway between two float values.
@@ -749,7 +749,7 @@ struct test_scientific {
assert(x == F(1.25));
}
- { // exponenent no sign
+ { // exponent no sign
const char* s = "1.5e10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::scientific);
@@ -757,7 +757,7 @@ struct test_scientific {
assert(r.ptr == s + 6);
assert(x == F(1.5e10));
}
- { // exponenent capitalized no sign
+ { // exponent capitalized no sign
const char* s = "1.5E10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::scientific);
@@ -765,7 +765,7 @@ struct test_scientific {
assert(r.ptr == s + 6);
assert(x == F(1.5e10));
}
- { // exponenent + sign
+ { // exponent + sign
const char* s = "1.5e+10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::scientific);
@@ -773,7 +773,7 @@ struct test_scientific {
assert(r.ptr == s + 7);
assert(x == F(1.5e10));
}
- { // exponenent - sign
+ { // exponent - sign
const char* s = "1.5e-10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::scientific);
@@ -958,7 +958,7 @@ struct test_general {
assert(r.ptr == s + 3);
assert(x == F(-0.5));
}
- { // double deciamal point
+ { // double decimal point
const char* s = "1.25.78";
// This number is halfway between two float values.
@@ -967,7 +967,7 @@ struct test_general {
assert(r.ptr == s + 4);
assert(x == F(1.25));
}
- { // exponenent no sign
+ { // exponent no sign
const char* s = "1.5e10";
r = std::from_chars(s, s + std::strlen(s), x);
@@ -975,7 +975,7 @@ struct test_general {
assert(r.ptr == s + 6);
assert(x == F(1.5e10));
}
- { // exponenent capitalized no sign
+ { // exponent capitalized no sign
const char* s = "1.5E10";
r = std::from_chars(s, s + std::strlen(s), x);
@@ -983,7 +983,7 @@ struct test_general {
assert(r.ptr == s + 6);
assert(x == F(1.5e10));
}
- { // exponenent + sign
+ { // exponent + sign
const char* s = "1.5e+10";
r = std::from_chars(s, s + std::strlen(s), x);
@@ -991,7 +991,7 @@ struct test_general {
assert(r.ptr == s + 7);
assert(x == F(1.5e10));
}
- { // exponenent - sign
+ { // exponent - sign
const char* s = "1.5e-10";
r = std::from_chars(s, s + std::strlen(s), x);
@@ -1278,7 +1278,7 @@ struct test_hex {
assert(r.ptr == s + 3);
assert(x == F(-0x0.5p0));
}
- { // double deciamal point
+ { // double decimal point
const char* s = "1.25.78";
// This number is halfway between two float values.
@@ -1287,7 +1287,7 @@ struct test_hex {
assert(r.ptr == s + 4);
assert(x == F(0x1.25p0));
}
- { // exponenent no sign
+ { // exponent no sign
const char* s = "1.5p10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::hex);
@@ -1295,7 +1295,7 @@ struct test_hex {
assert(r.ptr == s + 6);
assert(x == F(0x1.5p10));
}
- { // exponenent capitalized no sign
+ { // exponent capitalized no sign
const char* s = "1.5P10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::hex);
@@ -1303,7 +1303,7 @@ struct test_hex {
assert(r.ptr == s + 6);
assert(x == F(0x1.5p10));
}
- { // exponenent + sign
+ { // exponent + sign
const char* s = "1.5p+10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::hex);
@@ -1311,7 +1311,7 @@ struct test_hex {
assert(r.ptr == s + 7);
assert(x == F(0x1.5p10));
}
- { // exponenent - sign
+ { // exponent - sign
const char* s = "1.5p-10";
r = std::from_chars(s, s + std::strlen(s), x, std::chars_format::hex);
diff --git a/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.const_ref.pass.cpp b/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.const_ref.pass.cpp
similarity index 100%
rename from libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.const_ref.pass.cpp
rename to libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.const_ref.pass.cpp
diff --git a/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap.pass.cpp b/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.refwrap.pass.cpp
similarity index 100%
rename from libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap.pass.cpp
rename to libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.refwrap.pass.cpp
diff --git a/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap_const.pass.cpp b/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.refwrap_const.pass.cpp
similarity index 100%
rename from libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap_const.pass.cpp
rename to libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/compare.three_way.refwrap.refwrap_const.pass.cpp
diff --git a/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.const_ref.pass.cpp b/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.const_ref.pass.cpp
similarity index 100%
rename from libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.const_ref.pass.cpp
rename to libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.const_ref.pass.cpp
diff --git a/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap.pass.cpp b/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.refwrap.pass.cpp
similarity index 100%
rename from libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap.pass.cpp
rename to libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.refwrap.pass.cpp
diff --git a/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap_const.pass.cpp b/libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.refwrap_const.pass.cpp
similarity index 100%
rename from libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap_const.pass.cpp
rename to libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparisons/equal.refwrap.refwrap_const.pass.cpp
diff --git a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
index b7fd0937eb216..a68f3f40e3647 100644
--- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
+++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp
@@ -35,10 +35,10 @@ enum class UnsignedEnumClass : unsigned int {};
struct EmptyStruct {};
struct IncompleteStruct;
-struct NoEligibleTrivialContructor {
- NoEligibleTrivialContructor() {};
- NoEligibleTrivialContructor(const NoEligibleTrivialContructor&) {}
- NoEligibleTrivialContructor(NoEligibleTrivialContructor&&) {}
+struct NoEligibleTrivialConstructor {
+ NoEligibleTrivialConstructor() {};
+ NoEligibleTrivialConstructor(const NoEligibleTrivialConstructor&) {}
+ NoEligibleTrivialConstructor(NoEligibleTrivialConstructor&&) {}
};
struct OnlyDefaultConstructorIsTrivial {
@@ -47,22 +47,22 @@ struct OnlyDefaultConstructorIsTrivial {
OnlyDefaultConstructorIsTrivial(OnlyDefaultConstructorIsTrivial&&) {}
};
-struct AllContstructorsAreTrivial {
- AllContstructorsAreTrivial() = default;
- AllContstructorsAreTrivial(const AllContstructorsAreTrivial&) = default;
- AllContstructorsAreTrivial(AllContstructorsAreTrivial&&) = default;
+struct AllConstructorsAreTrivial {
+ AllConstructorsAreTrivial() = default;
+ AllConstructorsAreTrivial(const AllConstructorsAreTrivial&) = default;
+ AllConstructorsAreTrivial(AllConstructorsAreTrivial&&) = default;
};
-struct InheritedNoEligibleTrivialConstructor : NoEligibleTrivialContructor {
- using NoEligibleTrivialContructor::NoEligibleTrivialContructor;
+struct InheritedNoEligibleTrivialConstructor : NoEligibleTrivialConstructor {
+ using NoEligibleTrivialConstructor::NoEligibleTrivialConstructor;
};
struct InheritedOnlyDefaultConstructorIsTrivial : OnlyDefaultConstructorIsTrivial {
using OnlyDefaultConstructorIsTrivial::OnlyDefaultConstructorIsTrivial;
};
-struct InheritedAllContstructorsAreTrivial : AllContstructorsAreTrivial {
- using AllContstructorsAreTrivial::AllContstructorsAreTrivial;
+struct InheritedAllConstructorsAreTrivial : AllConstructorsAreTrivial {
+ using AllConstructorsAreTrivial::AllConstructorsAreTrivial;
};
struct UserDeclaredDestructor {
@@ -136,7 +136,7 @@ constexpr void test_is_implicit_lifetime() {
test_is_implicit_lifetime<T[94], true>();
}
-struct AritmeticTypesTest {
+struct ArithmeticTypesTest {
template <class T>
constexpr void operator()() {
test_is_implicit_lifetime<T>();
@@ -152,7 +152,7 @@ constexpr bool test() {
test_is_implicit_lifetime<const void, false>();
test_is_implicit_lifetime<volatile void, false>();
- types::for_each(types::arithmetic_types(), AritmeticTypesTest{});
+ types::for_each(types::arithmetic_types(), ArithmeticTypesTest{});
test_is_implicit_lifetime<Enum>();
test_is_implicit_lifetime<SignedEnum>();
@@ -184,17 +184,17 @@ constexpr bool test() {
test_is_implicit_lifetime<UserProvidedDestructor, false>();
- test_is_implicit_lifetime<NoEligibleTrivialContructor, false>();
+ test_is_implicit_lifetime<NoEligibleTrivialConstructor, false>();
test_is_implicit_lifetime<OnlyDefaultConstructorIsTrivial, true>();
- test_is_implicit_lifetime<AllContstructorsAreTrivial, true>();
+ test_is_implicit_lifetime<AllConstructorsAreTrivial, true>();
test_is_implicit_lifetime<InheritedNoEligibleTrivialConstructor, false>();
test_is_implicit_lifetime<InheritedOnlyDefaultConstructorIsTrivial, true>();
- test_is_implicit_lifetime<InheritedAllContstructorsAreTrivial, true>();
+ test_is_implicit_lifetime<InheritedAllConstructorsAreTrivial, true>();
test_is_implicit_lifetime<UserDeletedDestructorInAggregate, true>();
diff --git a/libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr.general.pass.cpp b/libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr.general.pass.cpp
index d55a0c2abd464..864b5f444fd84 100644
--- a/libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr.general.pass.cpp
+++ b/libcxx/test/std/utilities/smartptr/adapt/inout_ptr/inout_ptr.general.pass.cpp
@@ -54,7 +54,7 @@ void test_replace_int_p() {
replace_int_p(std::inout_ptr(uPtr, std::move(del)));
assert(*uPtr == 84);
- assert(uPtr.get_deleter().wasMoveInitilized == true);
+ assert(uPtr.get_deleter().wasMoveInitialized == true);
}
// pointer-like ConstructiblePtr
diff --git a/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr.general.pass.cpp b/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr.general.pass.cpp
index a78e22f69abc0..3186b6c757582 100644
--- a/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr.general.pass.cpp
+++ b/libcxx/test/std/utilities/smartptr/adapt/out_ptr/out_ptr.general.pass.cpp
@@ -49,7 +49,7 @@ void test_get_int_p() {
get_int_p(std::out_ptr(uPtr, std::move(del)));
assert(*uPtr == 84);
- assert(uPtr.get_deleter().wasMoveInitilized == true);
+ assert(uPtr.get_deleter().wasMoveInitialized == true);
}
// std::shared_ptr
diff --git a/libcxx/test/std/utilities/smartptr/adapt/types.h b/libcxx/test/std/utilities/smartptr/adapt/types.h
index 0da6007ba394f..886bb88cbbeb1 100644
--- a/libcxx/test/std/utilities/smartptr/adapt/types.h
+++ b/libcxx/test/std/utilities/smartptr/adapt/types.h
@@ -21,12 +21,12 @@ struct MoveOnlyDeleter {
MoveOnlyDeleter() = default;
MoveOnlyDeleter(const MoveOnlyDeleter&) = delete;
MoveOnlyDeleter& operator=(const MoveOnlyDeleter&) = delete;
- MoveOnlyDeleter(MoveOnlyDeleter&&) : wasMoveInitilized{true} {}
+ MoveOnlyDeleter(MoveOnlyDeleter&&) : wasMoveInitialized{true} {}
MoveOnlyDeleter& operator=(MoveOnlyDeleter&&) = default;
void operator()(T* p) const { delete p; }
- bool wasMoveInitilized = false;
+ bool wasMoveInitialized = false;
};
// Custom pointer types.
diff --git a/libcxx/test/std/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp b/libcxx/test/std/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
index 16ee000cd90fa..2c670d7432ac3 100644
--- a/libcxx/test/std/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
+++ b/libcxx/test/std/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
@@ -9,7 +9,7 @@
// Check that instantiating pair doesn't look up type traits "too early", before
// the contained types have been completed.
//
-// This is a regression test, to prevent a reoccurrance of the issue introduced
+// This is a regression test, to prevent a reoccurrence of the issue introduced
// in 5e1de27f680591a870d78e9952b23f76aed7f456.
#include <utility>
More information about the libcxx-commits
mailing list