[libc++] Qualifies size_t.

This has been done using the following command

  find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)size_t)|\1std::\2|' \{} \;

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

The `std` module doesn't export `::size_t`, this is a preparation for that module.

Reviewed By: ldionne, #libc, EricWF, philnik

Differential Revision: https://reviews.llvm.org/D146088
This commit is contained in:
Mark de Wever committed 2023-03-21 17:41:36 +01:00
1 parent 00fdd2cb6c
commit fb855eb941
465 files changed
+1636 -1619

No files matched your search

@@ -59,8 +59,8 @@ constexpr void test() {
};
static_assert(v.size() == vn.size());
for (size_t i = 0; i < v.size(); ++i) {
for (size_t j = 0; j < v.size(); ++j) {
for (std::size_t i = 0; i < v.size(); ++i) {
for (std::size_t j = 0; j < v.size(); ++j) {
assert(testOrder(v[i], v[j], i == j ? Ordering::equivalent : i < j ? Ordering::less : Ordering::greater));
assert(testOrder(