[all-commits] [llvm/llvm-project] d40768: [llvm] Avoid 'raw_string_ostream::str()' (NFC) (#9...
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Sun Jun 30 06:52:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d40768f57ec017c20f2096916f782842eab41da4
https://github.com/llvm/llvm-project/commit/d40768f57ec017c20f2096916f782842eab41da4
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
M llvm/include/llvm/Support/Error.h
M llvm/include/llvm/Support/GraphWriter.h
M llvm/include/llvm/Support/ScopedPrinter.h
M llvm/include/llvm/Support/YAMLTraits.h
Log Message:
-----------
[llvm] Avoid 'raw_string_ostream::str()' (NFC) (#97203)
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