Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 217ab20

Browse files
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217945 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 780f7e2 commit 217ab20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/llvm-cov/RenderingSupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ inline raw_ostream &operator<<(const ColoredRawOstream &OS, T &&Value) {
4949
/// is true. Returns an object that resets the color when destroyed.
5050
inline ColoredRawOstream colored_ostream(raw_ostream &OS,
5151
raw_ostream::Colors Color,
52-
bool IsColorUsed = false) {
52+
bool IsColorUsed = true) {
5353
if (IsColorUsed)
5454
OS.changeColor(Color);
5555
return ColoredRawOstream(OS, IsColorUsed);

0 commit comments

Comments
 (0)