diff options
author | Mark de Wever <koraq@xs4all.nl> | 2023-03-24 17:18:11 +0100 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2023-04-07 17:45:03 +0200 |
commit | 92fc93e11286a7395c2b3e98c44ed8affcfee2c0 (patch) | |
tree | e4d32017ad5346a024489066702e16e41c24daf9 /libcxx/test/std/utilities/function.objects | |
parent | b7e20aa9b7d31e91db6df82baba30b8d33050638 (diff) | |
download | llvm-92fc93e11286a7395c2b3e98c44ed8affcfee2c0.zip llvm-92fc93e11286a7395c2b3e98c44ed8affcfee2c0.tar.gz llvm-92fc93e11286a7395c2b3e98c44ed8affcfee2c0.tar.bz2 |
[libc++] Qualifies intmax_t and uintmax_t.
This has been done using the following command
find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)(?<!::u)u?intmax_t)|\1std::\2|' \{} \;
The std module doesn't export declarations in the global namespaace.
This is a preparation for that module.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D146821
Diffstat (limited to 'libcxx/test/std/utilities/function.objects')
-rw-r--r-- | libcxx/test/std/utilities/function.objects/unord.hash/integral.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 index 124eb84..4d6bc17 100644 --- 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 @@ int main(int, char**) test<std::int_least32_t>(); test<std::int_least64_t>(); - test<intmax_t>(); + test<std::intmax_t>(); test<std::intptr_t>(); test<std::uint8_t>(); @@ -107,7 +107,7 @@ int main(int, char**) test<std::uint_least32_t>(); test<std::uint_least64_t>(); - test<uintmax_t>(); + test<std::uintmax_t>(); test<std::uintptr_t>(); #ifndef TEST_HAS_NO_INT128 |