[Support] Move color handling from raw_fd_ostream to raw_ostream
Move the color handling code from raw_fd_ostream to raw_ostream. This makes it possible to use colors with any ostream when enabled. The existing behavior where only raw_fd_ostream supports colors by default remains unchanged. Differential revision: https://reviews.llvm.org/D81110
Loading
Please register or sign in to comment