The original patch broke buildbots, perhaps because it changed the
default setting whether colors are enabled or not.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368131
91177308-0d34-0410-b5e6-
96231b3b80d8
void setColor(llvm::raw_ostream::Colors Color) {
if (ShowColors)
- out << llvm::sys::Process::OutputColor(Color, false, false);
+ out << llvm::sys::Process::OutputColor(static_cast<char>(Color), false,
+ false);
}
void resetColor() {