LLVM  3.7.0
Public Member Functions | List of all members
llvm::dwarf::syntax::WithColor Class Reference

An RAII object that temporarily switches an output stream to a specific color. More...

#include <SyntaxHighlighting.h>

Public Member Functions

 WithColor (llvm::raw_ostream &OS, enum HighlightColor Type)
 To be used like this: WithColor(OS, syntax::String) << "text";. More...
 
 ~WithColor ()
 
llvm::raw_ostreamget ()
 
 operator llvm::raw_ostream & ()
 

Detailed Description

An RAII object that temporarily switches an output stream to a specific color.

Definition at line 24 of file SyntaxHighlighting.h.

Constructor & Destructor Documentation

WithColor::WithColor ( llvm::raw_ostream OS,
enum HighlightColor  Type 
)
WithColor::~WithColor ( )

Member Function Documentation

llvm::raw_ostream& llvm::dwarf::syntax::WithColor::get ( )
inline
llvm::dwarf::syntax::WithColor::operator llvm::raw_ostream & ( )
inline

Definition at line 33 of file SyntaxHighlighting.h.


The documentation for this class was generated from the following files: