GCC Middle and Back End API Reference
diagnostic_text_format_buffer Class Reference
Inheritance diagram for diagnostic_text_format_buffer:
Collaboration diagram for diagnostic_text_format_buffer:

Public Member Functions

 diagnostic_text_format_buffer (diagnostic_output_format &format)
 
void dump (FILE *out, int indent) const final override
 
bool empty_p () const final override
 
void move_to (diagnostic_per_format_buffer &dest) final override
 
void clear () final override
 
void flush () final override
 
void DEBUG_FUNCTION dump () const
 

Private Attributes

diagnostic_output_formatm_format
 
output_buffer m_output_buffer
 

Friends

class diagnostic_text_output_format
 

Detailed Description

Disable warnings about quoting issues in the pp_xxx calls below
that (intentionally) don't follow GCC diagnostic conventions.   
Concrete buffering implementation subclass for JSON output.   

Constructor & Destructor Documentation

◆ diagnostic_text_format_buffer()

diagnostic_text_format_buffer::diagnostic_text_format_buffer ( diagnostic_output_format & format)
class diagnostic_text_format_buffer : public diagnostic_per_format_buffer.   

References output_buffer::m_flush_p, and m_output_buffer.

Member Function Documentation

◆ clear()

void diagnostic_text_format_buffer::clear ( )
finaloverridevirtual

◆ dump() [1/2]

void DEBUG_FUNCTION diagnostic_per_format_buffer::dump ( ) const
inlineinherited

◆ dump() [2/2]

void diagnostic_text_format_buffer::dump ( FILE * out,
int indent ) const
finaloverridevirtual

◆ empty_p()

bool diagnostic_text_format_buffer::empty_p ( ) const
finaloverridevirtual

◆ flush()

void diagnostic_text_format_buffer::flush ( )
finaloverridevirtual

◆ move_to()

Friends And Related Symbol Documentation

◆ diagnostic_text_output_format

friend class diagnostic_text_output_format
friend

Field Documentation

◆ m_format

diagnostic_output_format& diagnostic_text_format_buffer::m_format
private

Referenced by clear(), and flush().

◆ m_output_buffer

output_buffer diagnostic_text_format_buffer::m_output_buffer
private

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