GCC Middle and Back End API Reference
|
Public Member Functions | |
diagnostic_sarif_format_buffer (sarif_builder &builder) | |
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 | add_result (std::unique_ptr< sarif_result > result) |
size_t | num_results () const |
sarif_result & | get_result (size_t idx) |
void DEBUG_FUNCTION | dump () const |
Private Attributes | |
sarif_builder & | m_builder |
std::vector< std::unique_ptr< sarif_result > > | m_results |
Friends | |
class | sarif_output_format |
Concrete buffering implementation subclass for JSON output.
|
inline |
|
inline |
References m_results.
Referenced by sarif_builder::on_report_diagnostic().
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_results.
|
inlineinherited |
References diagnostic_per_format_buffer::dump().
Referenced by diagnostic_per_format_buffer::dump().
|
finaloverridevirtual |
class diagnostic_sarif_format_buffer : public diagnostic_per_format_buffer.
Implements diagnostic_per_format_buffer.
References m_results.
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_results.
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_builder, m_results, and sarif_builder::m_results_array.
|
inline |
References m_results.
|
finaloverridevirtual |
Implements diagnostic_per_format_buffer.
References m_results.
|
inline |
References m_results.
|
friend |
|
private |
Referenced by flush().
|
private |
Referenced by add_result(), clear(), dump(), empty_p(), flush(), get_result(), move_to(), and num_results().