diff options
author | Amr Hesham <amr96@programmer.net> | 2025-01-20 18:25:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 18:25:51 +0100 |
commit | 9cbd705e32bbb869c897696f4a6659f2ce00b64a (patch) | |
tree | 493c1b2234e7ea1837290db3bb835d8370557c91 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | af6616676fb7f9dd4898290ea684ee0c90f1701d (diff) | |
download | llvm-9cbd705e32bbb869c897696f4a6659f2ce00b64a.zip llvm-9cbd705e32bbb869c897696f4a6659f2ce00b64a.tar.gz llvm-9cbd705e32bbb869c897696f4a6659f2ce00b64a.tar.bz2 |
[NFC] llvm-cgdata use StringRef in exitWithError to reduce construction (#120771)
Replace `static void exitWithError(Twine Message, std::string Whence =
"", std::string Hint = "")` std::string with StringRef to remove
constructing Strings on every call or passing by value
Fixes: #100065
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions