One more iteration here and a yet better way to solve it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2009-10-14 22:14:18 +00:00
parent 7a8a05b340
commit 085b9c034f

View File

@ -233,9 +233,8 @@ public:
/// @param bold bold/brighter text, default false
/// @param bg if true change the background, default: change foreground
/// @returns itself so it can be used within << invocations
virtual raw_ostream &changeColor(enum Colors, bool bold = false,
bool bg = false)
{ (void)bold; (void)bg; return *this; }
virtual raw_ostream &changeColor(enum Colors, bool = false,
bool = false) { return *this; }
/// Resets the colors to terminal defaults. Call this when you are done
/// outputting colored text, or before program exit.