diff options
author | A. Jiang <de34@live.cn> | 2024-10-30 07:16:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 07:16:03 +0800 |
commit | f71ea0e72e2419691e3c67bdbbe338d314ee77c0 (patch) | |
tree | 2b8f7613b2fb4a5d5d8fac701694d72f89833d26 /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | |
parent | d90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab (diff) | |
download | llvm-f71ea0e72e2419691e3c67bdbbe338d314ee77c0.zip llvm-f71ea0e72e2419691e3c67bdbbe338d314ee77c0.tar.gz llvm-f71ea0e72e2419691e3c67bdbbe338d314ee77c0.tar.bz2 |
[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_`.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions