GCC Middle and Back End API Reference
|
Public Member Functions | |
diagnostic_json_format_buffer (json_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 | |
json_output_format & | m_format |
std::vector< std::unique_ptr< json::object > > | m_results |
Friends | |
class | json_output_format |
Concrete buffering implementation subclass for JSON output.
|
inline |
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_results.
|
finaloverridevirtual |
class diagnostic_json_format_buffer : public diagnostic_per_format_buffer.
Implements diagnostic_per_format_buffer.
References m_results.
|
inlineinherited |
References diagnostic_per_format_buffer::dump().
Referenced by diagnostic_per_format_buffer::dump().
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_results.
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_format, m_results, and json_output_format::m_toplevel_array.
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_results.
|
friend |
|
private |
Referenced by flush().
|
private |