GCC Middle and Back End API Reference
|
Public Member Functions | |
sarif_file_output_format (diagnostic_context &context, const line_maps *line_maps, const char *main_input_filename_, bool formatted, enum sarif_version version, diagnostic_output_file output_file) | |
~sarif_file_output_format () | |
bool | machine_readable_stderr_p () const final override |
void | on_begin_group () final override |
void | on_end_group () final override |
void | on_report_diagnostic (const diagnostic_info &diagnostic, diagnostic_t orig_diag_kind) final override |
void | on_diagram (const diagnostic_diagram &diagram) final override |
void | after_diagnostic (const diagnostic_info &) final override |
sarif_builder & | get_builder () |
diagnostic_context & | get_context () const |
pretty_printer * | get_printer () const |
text_art::theme * | get_diagram_theme () const |
Protected Attributes | |
sarif_builder | m_builder |
diagnostic_context & | m_context |
Private Attributes | |
diagnostic_output_file | m_output_file |
|
inline |
|
inline |
|
inlinefinaloverridevirtualinherited |
Implements diagnostic_output_format.
|
inlineinherited |
References sarif_output_format::m_builder.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References diagnostic_output_format::m_context, and diagnostic_context::m_printer.
Referenced by diagnostic_text_output_format::append_note(), diagnostic_text_output_format::build_prefix(), default_diagnostic_text_finalizer(), default_diagnostic_text_starter(), default_tree_diagnostic_text_starter(), diagnostic_text_output_format::file_name_as_prefix(), diagnostic_text_output_format::get_location_text(), lhd_print_error_function(), diagnostic_text_output_format::on_diagram(), diagnostic_text_output_format::on_report_diagnostic(), json_output_format::on_report_diagnostic(), diagnostic_text_output_format::print_any_cwe(), diagnostic_text_output_format::print_any_rules(), diagnostic_text_output_format::print_option_information(), diagnostic_text_output_format::report_current_module(), and diagnostic_text_output_format::~diagnostic_text_output_format().
|
inlinefinaloverridevirtual |
Implements diagnostic_output_format.
|
inlinefinaloverridevirtualinherited |
Implements diagnostic_output_format.
|
inlinefinaloverridevirtualinherited |
Implements diagnostic_output_format.
References sarif_builder::emit_diagram(), and sarif_output_format::m_builder.
|
inlinefinaloverridevirtualinherited |
Implements diagnostic_output_format.
References sarif_builder::end_group(), and sarif_output_format::m_builder.
|
inlinefinaloverridevirtualinherited |
Implements diagnostic_output_format.
References sarif_output_format::m_builder, and sarif_builder::on_report_diagnostic().
|
protectedinherited |
Referenced by sarif_output_format::get_builder(), sarif_output_format::on_diagram(), sarif_output_format::on_end_group(), sarif_output_format::on_report_diagnostic(), ~sarif_file_output_format(), sarif_output_format::~sarif_output_format(), and sarif_stream_output_format::~sarif_stream_output_format().
|
protectedinherited |
Referenced by diagnostic_output_format::get_context(), diagnostic_output_format::get_diagram_theme(), diagnostic_output_format::get_printer(), diagnostic_text_output_format::on_report_diagnostic(), json_output_format::on_report_diagnostic(), diagnostic_text_output_format::print_option_information(), and diagnostic_text_output_format::~diagnostic_text_output_format().
|
private |
Referenced by sarif_file_output_format(), and ~sarif_file_output_format().