mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-23 23:36:04 +00:00

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()`.