[all-commits] [llvm/llvm-project] caf26b: [llvm][utils] Avoid 'raw_string_ostream::str()' (N...
Youngsuk Kim via All-commits
all-commits at lists.llvm.org
Sat Jun 29 15:51:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: caf26b9437ae3e26d4c9c8680d3e755aafeda6ed
https://github.com/llvm/llvm-project/commit/caf26b9437ae3e26d4c9c8680d3e755aafeda6ed
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/utils/FileCheck/FileCheck.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/AsmWriterEmitter.cpp
M llvm/utils/TableGen/Common/VarLenCodeEmitterGen.cpp
Log Message:
-----------
[llvm][utils] Avoid 'raw_string_ostream::str()' (NFC) (#97160)
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