[all-commits] [llvm/llvm-project] f71ea0: [libc++][test] Augment `test_alloc` in `deallocate...
A. Jiang via All-commits
all-commits at lists.llvm.org
Tue Oct 29 16:16:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f71ea0e72e2419691e3c67bdbbe338d314ee77c0
https://github.com/llvm/llvm-project/commit/f71ea0e72e2419691e3c67bdbbe338d314ee77c0
Author: A. Jiang <de34 at live.cn>
Date: 2024-10-30 (Wed, 30 Oct 2024)
Changed paths:
M libcxx/test/std/strings/basic.string/string.capacity/deallocate_size.pass.cpp
Log Message:
-----------
[libc++][test] Augment `test_alloc` in `deallocate_size.pass.cpp` (#113638)
Making it meet the requirements for allocator since C++11. Fixes
#113609.
This PR doesn't make it meet the C++03 allocator requirements, because
that would make the type too verbose and libc++ has backported many
C++11 features to the C++03 mode.
Drive-by: Removes the `TEST_CONSTEXPR_CXX14` on `allocate`/`dealocate`
which is never in effect (and causes IFNDR-ness before C++23), since
these functions modify the namespace-scoped variable `allocated_`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list