GCC Middle and Back End API Reference
diagnostic_text_sink Struct Reference
Inheritance diagram for diagnostic_text_sink:
Collaboration diagram for diagnostic_text_sink:

Public Member Functions

 diagnostic_text_sink (diagnostic_manager &mgr, FILE *dst_stream, enum diagnostic_colorize colorize)
 
diagnostic_source_printing_optionsget_source_printing_options ()
 
void set_colorize (enum diagnostic_colorize colorize)
 

Static Public Member Functions

static void text_starter (diagnostic_text_output_format &text_output, const diagnostic_info *diagnostic)
 

Protected Attributes

diagnostic_managerm_mgr
 

Private Attributes

diagnostic_text_output_formatm_inner_sink
 
diagnostic_source_printing_options m_source_printing
 

Detailed Description

This has to be a "struct" as it is exposed in the C API.   

Constructor & Destructor Documentation

◆ diagnostic_text_sink()

diagnostic_text_sink::diagnostic_text_sink ( diagnostic_manager & mgr,
FILE * dst_stream,
enum diagnostic_colorize colorize )

Member Function Documentation

◆ get_source_printing_options()

◆ set_colorize()

◆ text_starter()

Field Documentation

◆ m_inner_sink

diagnostic_text_output_format* diagnostic_text_sink::m_inner_sink
private

◆ m_mgr

diagnostic_manager& sink::m_mgr
protectedinherited

Referenced by set_colorize().

◆ m_source_printing

diagnostic_source_printing_options diagnostic_text_sink::m_source_printing
private

The documentation for this struct was generated from the following file: