When the message includes a final newline, Formatv can add that for you. The only unusual change is one place in platform where we need to print octal. LLVM doesn't have a built in way to do this (see llvm/include/llvm/Support/FormatProviders.h) and this is probably the only place in the codebase that wants to. So I decided not to add it there. Instead I've put the number info a format adapter with the normal printf specifier, then put that into the Formatv format.
2.4 KiB
2.4 KiB