[all-commits] [llvm/llvm-project] 348554: [llvm] Avoid 'raw_string_ostream::str' (NFC)
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Fri Jul 5 15:27:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 34855405b0a7dd6719fa3278f9b888f7f11bc4d8
https://github.com/llvm/llvm-project/commit/34855405b0a7dd6719fa3278f9b888f7f11bc4d8
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-07-05 (Fri, 05 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/MIRPrintingPass.cpp
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/IR/DiagnosticInfo.cpp
M llvm/lib/Remarks/Remark.cpp
M llvm/tools/llvm-opt-report/OptReport.cpp
M llvm/utils/TableGen/CompressInstEmitter.cpp
M llvm/utils/TableGen/X86DisassemblerTables.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 item 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