diff options
author | aabhinavg <78288544+aabhinavg@users.noreply.github.com> | 2024-11-05 14:50:22 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 09:20:22 +0000 |
commit | bf01bb851b1e1a977ba1b92e7eb9c8c6d773e6d5 (patch) | |
tree | 8b51dd21eaac4d8c902107c64567913fc7bf58f2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | a256e89fd1b9f42d3f29df42d4f21ea823476ff3 (diff) | |
download | llvm-bf01bb851b1e1a977ba1b92e7eb9c8c6d773e6d5.zip llvm-bf01bb851b1e1a977ba1b92e7eb9c8c6d773e6d5.tar.gz llvm-bf01bb851b1e1a977ba1b92e7eb9c8c6d773e6d5.tar.bz2 |
[lldb] Refactor string manipulation in Debugger.cpp (#92565)
Summary of Changes:
Replaced the ineffective call to `substr` with a more efficient use of
`resize` to truncate the string.
Adjusted the code to use 'resize' instead of 'substr' for better
performance and readability.
Removed unwanted file from the previous commit.
Fixes: #91209
---------
Co-authored-by: aabhinavg <tiwariabhinavak@gmail.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions