9 #ifndef LLVM_SUPPORT_WITHCOLOR_H 10 #define LLVM_SUPPORT_WITHCOLOR_H 58 bool Bold =
false,
bool BG =
false,
bool DisableColors =
false)
59 : OS(OS), DisableColors(DisableColors) {
60 changeColor(
Color, Bold, BG);
86 bool DisableColors =
false);
89 bool DisableColors =
false);
92 bool DisableColors =
false);
95 bool DisableColors =
false);
115 #endif // LLVM_LIB_DEBUGINFO_WITHCOLOR_H This class represents lattice values for constants.
An RAII object that temporarily switches an output stream to a specific color.
WithColor & operator<<(T &O)
WithColor(raw_ostream &OS, raw_ostream::Colors Color=raw_ostream::SAVEDCOLOR, bool Bold=false, bool BG=false, bool DisableColors=false)
To be used like this: WithColor(OS, raw_ostream::Black) << "text";.
WithColor & operator<<(const T &O)
Color
A "color", which is either even or odd.
static const Colors SAVEDCOLOR
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
cl::OptionCategory ColorCategory