[libc++] Qualifies uint32_t and friends.

This has been done using the following command
  find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)(?<!::u)u?int(_[a-z]+)?[0-9]{1,2}_t)|\1std::\2|' \{} \;

And manually removed some false positives in std/depr/depr.c.headers.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D145880
This commit is contained in:
Mark de Wever
2023-03-12 17:11:29 +01:00
parent f8bd0be602
commit bd5d0fee9b
70 changed files with 573 additions and 573 deletions

View File

@@ -154,7 +154,7 @@ TEST_CONSTEXPR_CXX20 bool test() {
{ // test appending a different type
typedef std::string S;
const uint8_t p[] = "ABCD";
const std::uint8_t p[] = "ABCD";
S s;
s.append(p, p + 4);

View File

@@ -155,7 +155,7 @@ TEST_CONSTEXPR_CXX20 bool test() {
{ // test assigning a different type
typedef std::string S;
const uint8_t p[] = "ABCD";
const std::uint8_t p[] = "ABCD";
S s;
s.assign(p, p + 4);

View File

@@ -145,7 +145,7 @@ TEST_CONSTEXPR_CXX20 bool test() {
{ // test assigning a different type
typedef std::string S;
const uint8_t p[] = "ABCD";
const std::uint8_t p[] = "ABCD";
S s;
s.insert(s.begin(), p, p + 4);

View File

@@ -1028,8 +1028,8 @@ TEST_CONSTEXPR_CXX20 bool test9() {
}
{ // test assigning a different type
const uint8_t pc[] = "ABCD";
uint8_t p[] = "EFGH";
const std::uint8_t pc[] = "ABCD";
std::uint8_t p[] = "EFGH";
S s;
s.replace(s.begin(), s.end(), pc, pc + 4);