GCC Middle and Back End API Reference
|
Go to the source code of this file.
Data Structures | |
struct | html_generation_options |
Functions | |
diagnostic_output_file | diagnostic_output_format_open_html_file (diagnostic_context &context, line_maps *line_maps, const char *base_file_name) |
std::unique_ptr< diagnostic_output_format > | make_html_sink (diagnostic_context &context, const line_maps &line_maps, const html_generation_options &html_gen_opts, diagnostic_output_file output_file) |
void | print_path_as_html (xml::printer &xp, const diagnostic_path &path, diagnostic_context &dc, html_label_writer *event_label_writer, const diagnostic_source_print_policy &dspp) |
|
extern |
Attempt to open BASE_FILE_NAME.html for writing. Return a non-null diagnostic_output_file, or return a null diagnostic_output_file and complain to CONTEXT using LINE_MAPS.
References base_file_name(), diagnostic_context::emit_diagnostic_with_group(), fopen, and UNKNOWN_LOCATION.
Referenced by diagnostics_output_spec::html_scheme_handler::make_sink().
|
extern |
References output_file.
Referenced by diagnostics_output_spec::html_scheme_handler::make_sink().
|
extern |
Print PATH as HTML to XP, using DC and DSPP for settings. If non-null, use EVENT_LABEL_WRITER when writing events.
References diagnostic_source_print_policy::get_options(), diagnostic_context::get_reference_printer(), path, diagnostic_source_printing_options::show_event_links_p, and diagnostic_context::show_path_depths_p().
Referenced by html_builder::make_element_for_diagnostic().