forked from OSchip/llvm-project
Forward resetColor() et al to the underlying stream.
llvm-svn: 187947
This commit is contained in:
parent
6663c7d5fc
commit
59c23c0bb5
|
@ -129,6 +129,27 @@ public:
|
|||
|
||||
/// getLine - Return the line number
|
||||
unsigned getLine() { return Position.second; }
|
||||
|
||||
raw_ostream &resetColor() {
|
||||
TheStream->resetColor();
|
||||
return *this;
|
||||
}
|
||||
|
||||
raw_ostream &reverseColor() {
|
||||
TheStream->reverseColor();
|
||||
return *this;
|
||||
}
|
||||
|
||||
raw_ostream &changeColor(enum Colors Color,
|
||||
bool Bold,
|
||||
bool BG) {
|
||||
TheStream->changeColor(Color, Bold, BG);
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool is_displayed() const {
|
||||
return TheStream->is_displayed();
|
||||
}
|
||||
|
||||
private:
|
||||
void releaseStream() {
|
||||
|
|
Loading…
Reference in New Issue