[all-commits] [llvm/llvm-project] 4a8354: [llvm] Avoid 'raw_string_ostream::str()' (NFC) (#9...
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Sat Jun 29 01:36:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a835480fa22106c0209e8c9485a616b2ead0892
https://github.com/llvm/llvm-project/commit/4a835480fa22106c0209e8c9485a616b2ead0892
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/FloatingPointMode.h
M llvm/include/llvm/Analysis/CFGPrinter.h
M llvm/include/llvm/Analysis/DDG.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/Object/MachO.h
Log Message:
-----------
[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()`.
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