GCC Middle and Back End API Reference
diagnostic-format.h File Reference
#include "diagnostic.h"
Include dependency graph for diagnostic-format.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  diagnostic_output_format
 

Functions

void diagnostic_output_format_init (diagnostic_context &, const char *main_input_filename_, const char *base_file_name, enum diagnostics_output_format, bool json_formatting)
 
void diagnostic_output_format_init_json_stderr (diagnostic_context &context, bool formatted)
 
void diagnostic_output_format_init_json_file (diagnostic_context &context, bool formatted, const char *base_file_name)
 

Function Documentation

◆ diagnostic_output_format_init()

◆ diagnostic_output_format_init_json_file()

void diagnostic_output_format_init_json_file ( diagnostic_context & context,
bool formatted,
const char * base_file_name )
extern
Populate CONTEXT in preparation for JSON output to a file named
BASE_FILE_NAME.gcc.json.   

References base_file_name(), diagnostic_output_format_init_json(), and make_unique().

Referenced by diagnostic_output_format_init().

◆ diagnostic_output_format_init_json_stderr()

void diagnostic_output_format_init_json_stderr ( diagnostic_context & context,
bool formatted )
extern
Populate CONTEXT in preparation for JSON output to stderr.   

References diagnostic_output_format_init_json(), and make_unique().

Referenced by diagnostic_output_format_init().