aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorYoungsuk Kim <joseph942010@gmail.com>2024-06-29 04:35:39 -0400
committerGitHub <noreply@github.com>2024-06-29 04:35:39 -0400
commit4a835480fa22106c0209e8c9485a616b2ead0892 (patch)
treee569aba91f3a77bc14210482e56434d10259e6aa /llvm/unittests/CodeGen/MachineInstrTest.cpp
parent58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e (diff)
downloadllvm-4a835480fa22106c0209e8c9485a616b2ead0892.zip
llvm-4a835480fa22106c0209e8c9485a616b2ead0892.tar.gz
llvm-4a835480fa22106c0209e8c9485a616b2ead0892.tar.bz2
[llvm] Avoid 'raw_string_ostream::str()' (NFC) (#96995)
Since `raw_string_ostream` doesn't own the string buffer, it is desirable (in terms of memory safety) for users to directly reference the string buffer rather than use `raw_string_ostream::str()`. Work towards TODO comment to remove `raw_string_ostream::str()`.
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions