https://github.com/adrian-prantl approved this pull request. If we switched to a streamstring or a raw_svector_ostream we could avoid having to deal with the printf specifiers altogether... https://github.com/llvm/llvm-project/pull/81078