GCC Middle and Back End API Reference
|
Data Structures | |
class | scheme_handler |
Public Member Functions | |
output_factory () | |
std::unique_ptr< diagnostic_output_format > | make_sink (const context &ctxt, const char *unparsed_arg, const scheme_name_and_params &parsed_arg) |
const scheme_handler * | get_scheme_handler (const std::string &scheme_name) |
Private Attributes | |
std::vector< std::unique_ptr< scheme_handler > > | m_scheme_handlers |
Class for parsing the arguments of -fdiagnostics-add-output= and -fdiagnostics-set-output=, and making diagnostic_output_format instances (or issuing errors).
gcc::diagnostics_output_spec::output_factory::output_factory | ( | ) |
const output_factory::scheme_handler * gcc::diagnostics_output_spec::output_factory::get_scheme_handler | ( | const std::string & | scheme_name | ) |
std::unique_ptr< diagnostic_output_format > gcc::diagnostics_output_spec::output_factory::make_sink | ( | const context & | ctxt, |
const char * | unparsed_arg, | ||
const scheme_name_and_params & | parsed_arg ) |
References gcc::diagnostics_output_spec::context::m_option_name, gcc::diagnostics_output_spec::scheme_name_and_params::m_scheme_name, gcc::diagnostics_output_spec::output_factory::scheme_handler::make_sink(), and gcc::diagnostics_output_spec::context::report_error().
Referenced by handle_OPT_fdiagnostics_add_output_(), and handle_OPT_fdiagnostics_set_output_().
|
private |