13 using namespace dwarf;
14 using namespace syntax;
18 cl::desc(
"use colored syntax highlighting (default=autodetect)"),
virtual bool has_colors() const
This function determines if this stream is displayed and supports colors.
virtual raw_ostream & changeColor(enum Colors Color, bool Bold=false, bool BG=false)
Changes the foreground color of text that will be output from this point forward. ...
initializer< Ty > init(const Ty &Val)
static cl::opt< cl::boolOrDefault > UseColor("color", cl::desc("use colored syntax highlighting (default=autodetect)"), cl::init(cl::BOU_UNSET))
The instances of the Type class are immutable: once they are created, they are never changed...
virtual raw_ostream & resetColor()
Resets the colors to terminal defaults.
This class implements an extremely fast bulk output stream that can only output to a stream...
WithColor(llvm::raw_ostream &OS, enum HighlightColor Type)
To be used like this: WithColor(OS, syntax::String) << "text";.