aboutsummaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-07-17 21:04:01 -0700
committerKazu Hirata <kazu@google.com>2025-07-17 21:04:01 -0700
commit4c85bf2fe8042c855c9dd5be4b02191e9d071ffd (patch)
treeedbaaca156b80f0955171bd26155a4c3975ad0fd /libcxx
parentdf56b1a2cf06d1954a9cd1a290a264375f47440d (diff)
downloadllvm-4c85bf2fe8042c855c9dd5be4b02191e9d071ffd.zip
llvm-4c85bf2fe8042c855c9dd5be4b02191e9d071ffd.tar.gz
llvm-4c85bf2fe8042c855c9dd5be4b02191e9d071ffd.tar.bz2
Revert "[Clang] Make the SizeType, SignedSizeType and PtrdiffType be named sugar types instead of built-in types (#143653)"
This reverts commit c27e283cfbca2bd22f34592430e98ee76ed60ad8. A builbot failure has been reported: https://lab.llvm.org/buildbot/#/builders/186/builds/10819/steps/10/logs/stdio I'm also getting a large number of warnings related to %zu and %zx.
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp b/libcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp
index c5f152a..4fa4982 100644
--- a/libcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp
+++ b/libcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp
@@ -38,10 +38,10 @@ static void print(const Deque& d) {
" : __back_spare() == %zu"
" : __capacity() == %zu"
" : bytes allocated == %zu\n",
- std::size_t(d.size()),
- std::size_t(d.__front_spare()),
- std::size_t(d.__back_spare()),
- std::size_t(d.__capacity()),
+ d.size(),
+ d.__front_spare(),
+ d.__back_spare(),
+ d.__capacity(),
malloc_allocator_base::outstanding_bytes);
}