diff options
author | Amirreza Ashouri <ar.ashouri999@gmail.com> | 2023-10-17 13:08:12 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 11:38:12 +0200 |
commit | 838f2890fd30295b771908e234fb06cb169cf355 (patch) | |
tree | 75f49d9fd770dd15932a1356a3ff6c3800f5a403 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 484668c7597d9198e21332b30d2f15ece536a0bb (diff) | |
download | llvm-838f2890fd30295b771908e234fb06cb169cf355.zip llvm-838f2890fd30295b771908e234fb06cb169cf355.tar.gz llvm-838f2890fd30295b771908e234fb06cb169cf355.tar.bz2 |
[libc++] Eliminate extra allocations from `std::move(oss).str()` (#67294)
Add test coverage for the new behaviors, especially to verify that the
returned string uses the correct allocator.
Fixes https://github.com/llvm/llvm-project/issues/64644
Migrated from https://reviews.llvm.org/D157776 — @philnik777 @pfusik
@ldionne @mordante
please take another look!
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions