diff options
Diffstat (limited to 'llvm/tools/llvm-cov/RenderingSupport.h')
-rw-r--r-- | llvm/tools/llvm-cov/RenderingSupport.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvm-cov/RenderingSupport.h b/llvm/tools/llvm-cov/RenderingSupport.h index 4778501305f..0271329997d 100644 --- a/llvm/tools/llvm-cov/RenderingSupport.h +++ b/llvm/tools/llvm-cov/RenderingSupport.h @@ -49,9 +49,10 @@ 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 = true) { + bool IsColorUsed = true, + bool Bold = false, bool BG = false) { if (IsColorUsed) - OS.changeColor(Color); + OS.changeColor(Color, Bold, BG); return ColoredRawOstream(OS, IsColorUsed); } } |