It doesn't make sense for this default parameter to be false, since
false makes the function a no-op.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217945
91177308-0d34-0410-b5e6-
96231b3b80d8
/// is true. Returns an object that resets the color when destroyed.
inline ColoredRawOstream colored_ostream(raw_ostream &OS,
raw_ostream::Colors Color,
- bool IsColorUsed = false) {
+ bool IsColorUsed = true) {
if (IsColorUsed)
OS.changeColor(Color);
return ColoredRawOstream(OS, IsColorUsed);