forked from OSchip/llvm-project
llvm-cov: Fix a typo
It doesn't make sense for this default parameter to be false, since false makes the function a no-op. llvm-svn: 217945
This commit is contained in:
parent
68b3e87263
commit
a187f791e0
|
@ -49,7 +49,7 @@ inline raw_ostream &operator<<(const ColoredRawOstream &OS, T &&Value) {
|
|||
/// 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);
|
||||
|
|
Loading…
Reference in New Issue