GCC Middle and Back End API Reference
|
#include <diagnostic-buffer.h>
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 |
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.
|
inlinevirtual |
|
pure virtual |
Implemented in diagnostic_json_format_buffer, diagnostic_sarif_format_buffer, and diagnostic_text_format_buffer.
|
inline |
|
pure virtual |
Implemented in diagnostic_json_format_buffer, diagnostic_sarif_format_buffer, and diagnostic_text_format_buffer.
|
pure virtual |
Implemented in diagnostic_json_format_buffer, diagnostic_sarif_format_buffer, and diagnostic_text_format_buffer.
|
pure virtual |
Implemented in diagnostic_json_format_buffer, diagnostic_sarif_format_buffer, and diagnostic_text_format_buffer.
|
pure virtual |
Implemented in diagnostic_json_format_buffer, diagnostic_sarif_format_buffer, and diagnostic_text_format_buffer.