llvm.org GIT mirror llvm / bf473e2
Forward resetColor() et al to the underlying stream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187947 91177308-0d34-0410-b5e6-96231b3b80d8 Ted Kremenek 7 years ago
1 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
128128
129129 /// getLine - Return the line number
130130 unsigned getLine() { return Position.second; }
131
132 raw_ostream &resetColor() {
133 TheStream->resetColor();
134 return *this;
135 }
136
137 raw_ostream &reverseColor() {
138 TheStream->reverseColor();
139 return *this;
140 }
141
142 raw_ostream &changeColor(enum Colors Color,
143 bool Bold,
144 bool BG) {
145 TheStream->changeColor(Color, Bold, BG);
146 return *this;
147 }
148
149 bool is_displayed() const {
150 return TheStream->is_displayed();
151 }
131152
132153 private:
133154 void releaseStream() {