Go to the source code of this file.
◆ diagnostic_output_format_init()
Set the output format for CONTEXT to FORMAT, using BASE_FILE_NAME for
file-based output formats.
References base_file_name(), diagnostic_output_format_init_sarif_file(), diagnostic_output_format_init_sarif_stderr(), DIAGNOSTICS_OUTPUT_FORMAT_SARIF_FILE, DIAGNOSTICS_OUTPUT_FORMAT_SARIF_STDERR, DIAGNOSTICS_OUTPUT_FORMAT_TEXT, gcc_unreachable, line_table, and diagnostic_output_format::set_main_input_filename().
Referenced by common_handle_option(), and driver_handle_option().