diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-06-27 14:34:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-27 14:34:33 -0500 |
commit | d34214a85e3b9b94c2ccc6d63f3592be7eca0c24 (patch) | |
tree | 3c3d7b043936c592e16b4ea4cec869650cfdbad7 /llvm/lib/FileCheck/FileCheck.cpp | |
parent | 1eacdddc0c440c5952c1f863055b4487ca13e401 (diff) | |
download | llvm-d34214a85e3b9b94c2ccc6d63f3592be7eca0c24.zip llvm-d34214a85e3b9b94c2ccc6d63f3592be7eca0c24.tar.gz llvm-d34214a85e3b9b94c2ccc6d63f3592be7eca0c24.tar.bz2 |
[libc] Add and use 'cpp::launder' to guard placement new (#146123)
Summary:
In the GPU allocator we reinterpret cast from a void pointer. We know
that an actual object was constructed there according to the C++ object
model, but to make it fully standards compliant we need to 'launder' it
to forward that information to the compiler. Add this function and call
it as appropriate.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions