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_json_file(), diagnostic_output_format_init_json_stderr(), diagnostic_output_format_init_sarif_file(), diagnostic_output_format_init_sarif_stderr(), DIAGNOSTICS_OUTPUT_FORMAT_JSON_FILE, DIAGNOSTICS_OUTPUT_FORMAT_JSON_STDERR, DIAGNOSTICS_OUTPUT_FORMAT_SARIF_FILE, DIAGNOSTICS_OUTPUT_FORMAT_SARIF_STDERR, DIAGNOSTICS_OUTPUT_FORMAT_TEXT, gcc_unreachable, line_table, and v2_1_0.
Referenced by common_handle_option(), and driver_handle_option().
◆ diagnostic_output_format_init_json_file()
void diagnostic_output_format_init_json_file |
( |
diagnostic_context & | context, |
|
|
bool | formatted, |
|
|
const char * | base_file_name ) |
|
extern |
◆ diagnostic_output_format_init_json_stderr()