From 217ab20074e732ce48ffba74220038593a3daca9 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 17 Sep 2014 08:12:12 +0000 Subject: [PATCH] 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 --- tools/llvm-cov/RenderingSupport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-cov/RenderingSupport.h b/tools/llvm-cov/RenderingSupport.h index 619a8a68a56..4778501305f 100644 --- a/tools/llvm-cov/RenderingSupport.h +++ b/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);