GCC Middle and Back End API Reference
diagnostic_per_format_buffer Class Referenceabstract

#include <diagnostic-buffer.h>

Inheritance diagram for diagnostic_per_format_buffer:

Public Member Functions

virtual ~diagnostic_per_format_buffer ()
 
virtual void dump (FILE *out, int indent) const =0
 
void DEBUG_FUNCTION dump () const
 
virtual bool empty_p () const =0
 
virtual void move_to (diagnostic_per_format_buffer &dest)=0
 
virtual void clear ()=0
 
virtual void flush ()=0
 

Detailed Description

Implementation detail of diagnostic_buffer.

Abstract base class describing how to represent zero of more
buffered diagnostics for a particular diagnostic_output_format
(e.g. text vs SARIF).

Each diagnostic_output_format subclass should implement its own
subclass for handling diagnostic_buffer.   

Constructor & Destructor Documentation

◆ ~diagnostic_per_format_buffer()

virtual diagnostic_per_format_buffer::~diagnostic_per_format_buffer ( )
inlinevirtual

Member Function Documentation

◆ clear()

virtual void diagnostic_per_format_buffer::clear ( )
pure virtual

◆ dump() [1/2]

void DEBUG_FUNCTION diagnostic_per_format_buffer::dump ( ) const
inline

References dump().

Referenced by dump().

◆ dump() [2/2]

virtual void diagnostic_per_format_buffer::dump ( FILE * out,
int indent ) const
pure virtual

◆ empty_p()

virtual bool diagnostic_per_format_buffer::empty_p ( ) const
pure virtual

◆ flush()

virtual void diagnostic_per_format_buffer::flush ( )
pure virtual

◆ move_to()

virtual void diagnostic_per_format_buffer::move_to ( diagnostic_per_format_buffer & dest)
pure virtual

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