[all-commits] [llvm/llvm-project] 82f9a5: [llvm] Avoid 'raw_string_ostream::str' (NFC)
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Wed Jul 3 04:38:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82f9a5ba965dc1a40fe955b8205dd863bf6385cf
https://github.com/llvm/llvm-project/commit/82f9a5ba965dc1a40fe955b8205dd863bf6385cf
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/MasmParser.cpp
M llvm/lib/Support/JSON.cpp
M llvm/lib/Support/LockFileManager.cpp
M llvm/lib/TableGen/Main.cpp
M llvm/lib/TableGen/SetTheory.cpp
Log Message:
-----------
[llvm] Avoid 'raw_string_ostream::str' (NFC)
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()`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list