[PATCH] D115421: [Support] No longer require .flush()ing raw_string_ostream

Logan Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 9 16:16:53 PST 2021


logan-5 added a comment.

To be quite honest, in regards to the big `.str()` refactor (whether changing its type or deleting it), I feel I may have started to bite off more than I can chew here. There are at least a few thousand call sites of `.str()` throughout LLVM and its subprojects, and as just a very occasional contributor who will be a distant stranger to most of them, I don't feel equipped or qualified to tackle auditing and fixing them myself. (Not to mention that it's orders of magnitude more work than I had planned to contribute with my initial patch.) I just wanted to optimize a few `return`s, and now we're talking about making a huge number of changes across the entire repo. I'm happy to bring this current patch through to landing, but when it comes to the big `.str()` purge I might have to humbly step back.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115421/new/

https://reviews.llvm.org/D115421



More information about the llvm-commits mailing list