llvm-project
34855405 - [llvm] Avoid 'raw_string_ostream::str' (NFC)

Commit
1 year ago
[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()`.
Author
Committer
Parents
Loading