aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-16 23:52:03 -0700
committerGitHub <noreply@github.com>2025-05-16 23:52:03 -0700
commit0153b49f32c251ac34a478815f81c92975529b5d (patch)
tree75b3875b2d8c3cd96522beefe288fe196c25e397 /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent061a7699f343ed2a8782b48dc585f1ab7cc6727e (diff)
downloadllvm-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