nikic wrote: Can you please move this out of raw_ostream.h into a separate header? This is a core header, and adding extra dependencies to it has visible effect on time to compile clang. https://github.com/llvm/llvm-project/pull/73603