10 #ifndef LLVM_SUPPORT_WITHCOLOR_H 11 #define LLVM_SUPPORT_WITHCOLOR_H 59 bool Bold =
false,
bool BG =
false,
bool DisableColors =
false)
60 : OS(OS), DisableColors(DisableColors) {
61 changeColor(
Color, Bold, BG);
87 bool DisableColors =
false);
90 bool DisableColors =
false);
93 bool DisableColors =
false);
96 bool DisableColors =
false);
116 #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.
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