diff options
author | Kazu Hirata <kazu@google.com> | 2025-05-16 23:52:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-16 23:52:03 -0700 |
commit | 0153b49f32c251ac34a478815f81c92975529b5d (patch) | |
tree | 75b3875b2d8c3cd96522beefe288fe196c25e397 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 061a7699f343ed2a8782b48dc585f1ab7cc6727e (diff) | |
download | llvm-0153b49f32c251ac34a478815f81c92975529b5d.zip llvm-0153b49f32c251ac34a478815f81c92975529b5d.tar.gz llvm-0153b49f32c251ac34a478815f81c92975529b5d.tar.bz2 |
[Scalar] Avoid creating temporary instances of std::string (NFC) (#140327)
ExprLinearizer::write takes StringRef and immediately sends the
content to the stream without hanging onto the pointer, so we do not
need to create temporary instances of std::string.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions