diff --git a/libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp b/libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp --- a/libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp +++ b/libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp @@ -204,8 +204,8 @@ static_assert(std::is_same_v, ::atomic_uintptr_t>); static_assert(std::is_same_v, ::atomic_size_t>); static_assert(std::is_same_v, ::atomic_ptrdiff_t>); - static_assert(std::is_same_v, ::atomic_intmax_t>); - static_assert(std::is_same_v, ::atomic_uintmax_t>); + static_assert(std::is_same_v, ::atomic_intmax_t>); + static_assert(std::is_same_v, ::atomic_uintmax_t>); // Just check that the symbols in the global namespace are visible. using ::atomic_compare_exchange_strong; diff --git a/libcxx/test/std/atomics/types.pass.cpp b/libcxx/test/std/atomics/types.pass.cpp --- a/libcxx/test/std/atomics/types.pass.cpp +++ b/libcxx/test/std/atomics/types.pass.cpp @@ -150,11 +150,11 @@ test (); test (); test (); - test (); - test (); + test (); + test (); - test (); - test (); + test (); + test (); test(); test(); diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp @@ -251,7 +251,7 @@ TEST_DOES_NOT_THROW(ent.refresh()); ec = GetTestEC(); - assert(ent.file_size(ec) == uintmax_t(-1)); + assert(ent.file_size(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); // doesn't throw! @@ -274,7 +274,7 @@ assert(!ec); ec = GetTestEC(); - assert(ent.file_size(ec) == uintmax_t(-1)); + assert(ent.file_size(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); TEST_THROWS_TYPE(filesystem_error, ent.file_size()); @@ -316,7 +316,7 @@ CHECK_ACCESS(exists, false); CHECK_ACCESS(is_symlink, false); CHECK_ACCESS(last_write_time, file_time_type::min()); - CHECK_ACCESS(hard_link_count, uintmax_t(-1)); + CHECK_ACCESS(hard_link_count, std::uintmax_t(-1)); } permissions(dir, old_perms); { @@ -333,7 +333,7 @@ CHECK_ACCESS(exists, false); CHECK_ACCESS(is_symlink, false); CHECK_ACCESS(last_write_time, file_time_type::min()); - CHECK_ACCESS(hard_link_count, uintmax_t(-1)); + CHECK_ACCESS(hard_link_count, std::uintmax_t(-1)); } permissions(dir, old_perms); { @@ -351,7 +351,7 @@ CHECK_ACCESS(exists, false); CHECK_ACCESS(is_regular_file, false); CHECK_ACCESS(last_write_time, file_time_type::min()); - CHECK_ACCESS(hard_link_count, uintmax_t(-1)); + CHECK_ACCESS(hard_link_count, std::uintmax_t(-1)); } #undef CHECK_ACCESS } diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp @@ -33,8 +33,8 @@ { const fs::directory_entry e = {}; std::error_code ec; - static_assert(std::is_same::value, ""); - static_assert(std::is_same::value, + static_assert(std::is_same::value, ""); + static_assert(std::is_same::value, ""); static_assert(noexcept(e.file_size()) == false, ""); static_assert(noexcept(e.file_size(ec)) == true, ""); @@ -51,7 +51,7 @@ { directory_entry ent(file); - uintmax_t expect = file_size(ent); + std::uintmax_t expect = file_size(ent); assert(expect == 42); // Remove the file to show that the results were already in the cache. @@ -65,7 +65,7 @@ { directory_entry ent(sym); - uintmax_t expect = file_size(ent); + std::uintmax_t expect = file_size(ent); assert(expect == 99); LIBCPP_ONLY(remove(ent)); @@ -97,11 +97,11 @@ std::error_code ec = GetTestEC(0); std::error_code other_ec = GetTestEC(1); - uintmax_t expect = file_size(p, other_ec); + std::uintmax_t expect = file_size(p, other_ec); - uintmax_t got = ent.file_size(ec); + std::uintmax_t got = ent.file_size(ec); assert(got == expect); - assert(got == uintmax_t(-1)); + assert(got == std::uintmax_t(-1)); assert(ec == other_ec); assert(ErrorIs(ec, TC.expected_err)); @@ -136,7 +136,7 @@ assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); ec = GetTestEC(); - assert(ent.file_size(ec) == uintmax_t(-1)); + assert(ent.file_size(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); ExceptionChecker Checker(static_env.DNE, @@ -149,8 +149,8 @@ directory_entry ent; std::error_code ec = GetTestEC(); - uintmax_t expect_bad = file_size(static_env.BadSymlink, ec); - assert(expect_bad == uintmax_t(-1)); + std::uintmax_t expect_bad = file_size(static_env.BadSymlink, ec); + assert(expect_bad == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); ec = GetTestEC(); @@ -173,7 +173,7 @@ // test a file w/o appropriate permissions. { directory_entry ent; - uintmax_t expect_good = file_size(file); + std::uintmax_t expect_good = file_size(file); permissions(dir, perms::none); std::error_code ec = GetTestEC(); @@ -182,7 +182,7 @@ assert(ErrorIs(ec, std::errc::permission_denied)); ec = GetTestEC(); - assert(ent.file_size(ec) == uintmax_t(-1)); + assert(ent.file_size(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::permission_denied)); ExceptionChecker Checker(file, std::errc::permission_denied, "file_size"); @@ -198,7 +198,7 @@ // test a symlink w/o appropriate permissions. { directory_entry ent; - uintmax_t expect_good = file_size(sym_in_dir); + std::uintmax_t expect_good = file_size(sym_in_dir); permissions(dir, perms::none); std::error_code ec = GetTestEC(); @@ -207,7 +207,7 @@ assert(ErrorIs(ec, std::errc::permission_denied)); ec = GetTestEC(); - assert(ent.file_size(ec) == uintmax_t(-1)); + assert(ent.file_size(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::permission_denied)); ExceptionChecker Checker(sym_in_dir, std::errc::permission_denied, @@ -224,7 +224,7 @@ // test a symlink to a file w/o appropriate permissions { directory_entry ent; - uintmax_t expect_good = file_size(sym_out_of_dir); + std::uintmax_t expect_good = file_size(sym_out_of_dir); permissions(dir, perms::none); std::error_code ec = GetTestEC(); @@ -233,7 +233,7 @@ assert(!ec); ec = GetTestEC(); - assert(ent.file_size(ec) == uintmax_t(-1)); + assert(ent.file_size(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::permission_denied)); ExceptionChecker Checker(sym_out_of_dir, std::errc::permission_denied, diff --git a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp --- a/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp @@ -33,8 +33,8 @@ { const directory_entry e = {}; std::error_code ec; - static_assert(std::is_same::value, ""); - static_assert(std::is_same::value, + static_assert(std::is_same::value, ""); + static_assert(std::is_same::value, ""); static_assert(noexcept(e.hard_link_count()) == false, ""); static_assert(noexcept(e.hard_link_count(ec)) == true, ""); @@ -51,7 +51,7 @@ { directory_entry ent(file); - uintmax_t expect = hard_link_count(ent); + std::uintmax_t expect = hard_link_count(ent); // Remove the file to show that the results were already in the cache. LIBCPP_ONLY(remove(file)); @@ -62,7 +62,7 @@ } { directory_entry ent(dir); - uintmax_t expect = hard_link_count(ent); + std::uintmax_t expect = hard_link_count(ent); LIBCPP_ONLY(remove(dir)); @@ -94,7 +94,7 @@ directory_entry ent(p, dummy_ec); assert(!dummy_ec); - uintmax_t expect = hard_link_count(p); + std::uintmax_t expect = hard_link_count(p); LIBCPP_ONLY(permissions(dir, perms::none)); @@ -140,7 +140,7 @@ assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); ec = GetTestEC(); - assert(ent.hard_link_count(ec) == uintmax_t(-1)); + assert(ent.hard_link_count(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); ExceptionChecker Checker(static_env.DNE, @@ -153,8 +153,8 @@ directory_entry ent; std::error_code ec = GetTestEC(); - uintmax_t expect_bad = hard_link_count(static_env.BadSymlink, ec); - assert(expect_bad == uintmax_t(-1)); + std::uintmax_t expect_bad = hard_link_count(static_env.BadSymlink, ec); + assert(expect_bad == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::no_such_file_or_directory)); ec = GetTestEC(); @@ -177,7 +177,7 @@ // test a file w/o appropriate permissions. { directory_entry ent; - uintmax_t expect_good = hard_link_count(file); + std::uintmax_t expect_good = hard_link_count(file); permissions(dir, perms::none); std::error_code ec = GetTestEC(); @@ -186,7 +186,7 @@ assert(ErrorIs(ec, std::errc::permission_denied)); ec = GetTestEC(); - assert(ent.hard_link_count(ec) == uintmax_t(-1)); + assert(ent.hard_link_count(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::permission_denied)); ExceptionChecker Checker(file, std::errc::permission_denied, @@ -203,7 +203,7 @@ // test a symlink w/o appropriate permissions. { directory_entry ent; - uintmax_t expect_good = hard_link_count(sym_in_dir); + std::uintmax_t expect_good = hard_link_count(sym_in_dir); permissions(dir, perms::none); std::error_code ec = GetTestEC(); @@ -212,7 +212,7 @@ assert(ErrorIs(ec, std::errc::permission_denied)); ec = GetTestEC(); - assert(ent.hard_link_count(ec) == uintmax_t(-1)); + assert(ent.hard_link_count(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::permission_denied)); ExceptionChecker Checker(sym_in_dir, std::errc::permission_denied, @@ -229,7 +229,7 @@ // test a symlink to a file w/o appropriate permissions { directory_entry ent; - uintmax_t expect_good = hard_link_count(sym_out_of_dir); + std::uintmax_t expect_good = hard_link_count(sym_out_of_dir); permissions(dir, perms::none); std::error_code ec = GetTestEC(); @@ -238,7 +238,7 @@ assert(!ec); ec = GetTestEC(); - assert(ent.hard_link_count(ec) == uintmax_t(-1)); + assert(ent.hard_link_count(ec) == std::uintmax_t(-1)); assert(ErrorIs(ec, std::errc::permission_denied)); ExceptionChecker Checker(sym_out_of_dir, std::errc::permission_denied, diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp @@ -26,8 +26,8 @@ { const path p; ((void)p); std::error_code ec; ((void)ec); - ASSERT_SAME_TYPE(decltype(hard_link_count(p)), uintmax_t); - ASSERT_SAME_TYPE(decltype(hard_link_count(p, ec)), uintmax_t); + ASSERT_SAME_TYPE(decltype(hard_link_count(p)), std::uintmax_t); + ASSERT_SAME_TYPE(decltype(hard_link_count(p, ec)), std::uintmax_t); ASSERT_NOT_NOEXCEPT(hard_link_count(p)); ASSERT_NOEXCEPT(hard_link_count(p, ec)); } @@ -43,10 +43,10 @@ static void hard_link_count_for_directory() { static_test_env static_env; - uintmax_t DirExpect = 3; // hard link from . .. and Dir2 - uintmax_t Dir3Expect = 2; // hard link from . .. - uintmax_t DirExpectAlt = DirExpect; - uintmax_t Dir3ExpectAlt = Dir3Expect; + std::uintmax_t DirExpect = 3; // hard link from . .. and Dir2 + std::uintmax_t Dir3Expect = 2; // hard link from . .. + std::uintmax_t DirExpectAlt = DirExpect; + std::uintmax_t Dir3ExpectAlt = Dir3Expect; #if defined(__APPLE__) // Filesystems formatted with case sensitive hfs+ behave unixish as // expected. Normal hfs+ filesystems report the number of directory @@ -88,7 +88,7 @@ static_env.BadSymlink, static_env.DNE }; - const uintmax_t expect = static_cast(-1); + const std::uintmax_t expect = static_cast(-1); for (auto& TC : testCases) { std::error_code ec; assert(hard_link_count(TC, ec) == expect); diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file_large.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file_large.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file_large.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file_large.pass.cpp @@ -33,9 +33,9 @@ // be acceptable on all systems. static void large_file() { using namespace fs; - constexpr uintmax_t sendfile_size_limit = 2147479552ull; - constexpr uintmax_t additional_size = 1024; - constexpr uintmax_t test_file_size = sendfile_size_limit + additional_size; + constexpr std::uintmax_t sendfile_size_limit = 2147479552ull; + constexpr std::uintmax_t additional_size = 1024; + constexpr std::uintmax_t test_file_size = sendfile_size_limit + additional_size; static_assert(test_file_size > sendfile_size_limit, ""); scoped_test_env env; diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp @@ -31,8 +31,8 @@ { const path p; ((void)p); std::error_code ec; ((void)ec); - ASSERT_SAME_TYPE(decltype(file_size(p)), uintmax_t); - ASSERT_SAME_TYPE(decltype(file_size(p, ec)), uintmax_t); + ASSERT_SAME_TYPE(decltype(file_size(p)), std::uintmax_t); + ASSERT_SAME_TYPE(decltype(file_size(p, ec)), std::uintmax_t); ASSERT_NOT_NOEXCEPT(file_size(p)); ASSERT_NOEXCEPT(file_size(p, ec)); } @@ -75,7 +75,7 @@ {static_env.BadSymlink, std::errc::no_such_file_or_directory}, {static_env.DNE, std::errc::no_such_file_or_directory}, {"", std::errc::no_such_file_or_directory}}; - const uintmax_t expect = static_cast(-1); + const std::uintmax_t expect = static_cast(-1); for (auto& TC : TestCases) { std::error_code ec = GetTestEC(); assert(file_size(TC.p, ec) == expect); diff --git a/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp b/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp --- a/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp +++ b/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp @@ -44,7 +44,7 @@ static_assert(toobig(), ""); // expected-error-re {{{{(static_assert|static assertion)}} expression is not an integral constant expression}} static_assert(toobig(), ""); // expected-error-re {{{{(static_assert|static assertion)}} expression is not an integral constant expression}} static_assert(toobig(), ""); // expected-error-re {{{{(static_assert|static assertion)}} expression is not an integral constant expression}} - static_assert(toobig(), ""); // expected-error-re {{{{(static_assert|static assertion)}} expression is not an integral constant expression}} + static_assert(toobig(), ""); // expected-error-re {{{{(static_assert|static assertion)}} expression is not an integral constant expression}} static_assert(toobig(), ""); // expected-error-re {{{{(static_assert|static assertion)}} expression is not an integral constant expression}} return 0; diff --git a/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp b/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp --- a/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp +++ b/libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp @@ -88,7 +88,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -119,7 +119,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -135,7 +135,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp b/libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp --- a/libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp +++ b/libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp @@ -85,7 +85,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -117,7 +117,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -134,7 +134,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp b/libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp --- a/libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp +++ b/libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp @@ -90,7 +90,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -121,7 +121,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -137,7 +137,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp b/libcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp --- a/libcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp +++ b/libcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp @@ -88,7 +88,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -119,7 +119,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -135,7 +135,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp --- a/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp @@ -85,7 +85,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -116,7 +116,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -132,7 +132,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp --- a/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp @@ -84,7 +84,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -115,7 +115,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -131,7 +131,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp --- a/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp @@ -89,7 +89,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -120,7 +120,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -136,7 +136,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp --- a/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp @@ -86,7 +86,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -117,7 +117,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -133,7 +133,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp b/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp --- a/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp @@ -96,7 +96,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -127,7 +127,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -143,7 +143,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp b/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp --- a/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp @@ -84,7 +84,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -116,7 +116,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -133,7 +133,7 @@ test(); test(); test(); - test(); + test(); test(); test(); diff --git a/libcxx/test/std/numerics/bit/bitops.rot/rotr.pass.cpp b/libcxx/test/std/numerics/bit/bitops.rot/rotr.pass.cpp --- a/libcxx/test/std/numerics/bit/bitops.rot/rotr.pass.cpp +++ b/libcxx/test/std/numerics/bit/bitops.rot/rotr.pass.cpp @@ -85,7 +85,7 @@ static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); - static_assert(!std::is_invocable_v); + static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); @@ -117,7 +117,7 @@ static_assert(test()); static_assert(test()); static_assert(test()); - static_assert(test()); + static_assert(test()); static_assert(test()); static_assert(test()); @@ -134,7 +134,7 @@ test(); test(); test(); - test(); + test(); test(); test(); 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 --- 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 @@ -73,56 +73,56 @@ // std::chrono::hh_mm_ss. // C locale - integral power of 10 ratios - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567'890}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567'890}}) == SV("00:00:00.000001234567890")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567'890}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567'890}}) == SV("00:00:00.001234567890")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567'890}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567'890}}) == SV("00:00:01.234567890")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234'567}}) == SV("00:00:01.234567")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{123'456}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{123'456}}) == SV("00:02:03.456")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{12'345}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{12'345}}) == SV("00:02:03.45")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{1'234}}) == SV("00:02:03.4")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{123}}) == SV("00:02:03")); + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{123}}) == SV("00:02:03")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{-366}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{-366}}) == SV("-01:01:00")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{-72}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{-72}}) == SV("-02:00:00")); - assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{-86}}) == + assert(stream_c_locale(std::chrono::hh_mm_ss{std::chrono::duration{-86}}) == SV("-23:53:20")); // Starting at mega it will pass one day // fr_FR locale - integral power of not 10 ratios assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{ - std::chrono::duration>{5'000}}) == SV("00:00:00,0010000")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{3}}) == + std::chrono::duration>{5'000}}) == SV("00:00:00,0010000")); + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{3}}) == SV("00:00:00,000375")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{1}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{1}}) == SV("00:00:00,00025")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{5}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{5}}) == SV("00:00:00,0010")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{-4}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{-4}}) == SV("-00:00:00,500")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{-8}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{-8}}) == SV("-00:00:02,00")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{-5}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{-5}}) == SV("-00:00:01,0")); // TODO FMT Note there's no wording on the rounding - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{5}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{5}}) == SV("00:00:00,555555")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{7}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{7}}) == SV("00:00:01,000000")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{1}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{1}}) == SV("00:00:00,166666")); - assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{2}}) == + assert(stream_fr_FR_locale(std::chrono::hh_mm_ss{std::chrono::duration>{2}}) == SV("00:00:00,666666")); // ja_JP locale - floating points diff --git a/libcxx/test/std/utilities/function.objects/unord.hash/integral.pass.cpp b/libcxx/test/std/utilities/function.objects/unord.hash/integral.pass.cpp --- a/libcxx/test/std/utilities/function.objects/unord.hash/integral.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/unord.hash/integral.pass.cpp @@ -89,7 +89,7 @@ test(); test(); - test(); + test(); test(); test(); @@ -107,7 +107,7 @@ test(); test(); - test(); + test(); test(); #ifndef TEST_HAS_NO_INT128 diff --git a/libcxx/test/support/filesystem_test_helper.h b/libcxx/test/support/filesystem_test_helper.h --- a/libcxx/test/support/filesystem_test_helper.h +++ b/libcxx/test/support/filesystem_test_helper.h @@ -215,7 +215,7 @@ // but the caller is not (std::filesystem also uses uintmax_t rather than // off_t). On a 32-bit system this allows us to create a file larger than // 2GB. - std::string create_file(fs::path filename_path, uintmax_t size = 0) { + std::string create_file(fs::path filename_path, std::uintmax_t size = 0) { std::string filename = sanitize_path(filename_path.string()); if (size >