GCC Middle and Back End API Reference
|
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_format & | m_format |
output_buffer | m_output_buffer |
Friends | |
class | diagnostic_text_output_format |
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.
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.
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References empty_p(), gcc_assert, diagnostic_output_format::get_printer(), m_format, m_output_buffer, pp_buffer(), and pp_clear_output_area().
|
inlineinherited |
References diagnostic_per_format_buffer::dump().
Referenced by diagnostic_per_format_buffer::dump().
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References output_buffer::dump(), and m_output_buffer.
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_output_buffer, and output_buffer_last_position_in_text().
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References empty_p(), gcc_assert, diagnostic_output_format::get_printer(), m_format, m_output_buffer, pp_buffer(), and pp_really_flush().
|
finaloverridevirtual |
|
friend |
|
private |
|
private |
Referenced by clear(), diagnostic_text_format_buffer(), dump(), empty_p(), flush(), move_to(), and diagnostic_text_output_format::set_buffer().