diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-09-17 08:12:12 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-09-17 08:12:12 +0000 |
commit | a187f791e06d2764c43fd7f5d3f066aaae4563a1 (patch) | |
tree | e4157257ee3f6912a808013898bb4326f5f08ef5 /llvm/tools/llvm-cov | |
parent | 68b3e87263243a32f677e2bf56ed5060a0e9da3a (diff) | |
download | bcm5719-llvm-a187f791e06d2764c43fd7f5d3f066aaae4563a1.tar.gz bcm5719-llvm-a187f791e06d2764c43fd7f5d3f066aaae4563a1.zip |
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
Diffstat (limited to 'llvm/tools/llvm-cov')
-rw-r--r-- | llvm/tools/llvm-cov/RenderingSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/RenderingSupport.h b/llvm/tools/llvm-cov/RenderingSupport.h index 619a8a68a56..4778501305f 100644 --- a/llvm/tools/llvm-cov/RenderingSupport.h +++ b/llvm/tools/llvm-cov/RenderingSupport.h @@ -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); |