GCC Middle and Back End API Reference
gcc::diagnostics_output_spec::sarif_scheme_handler Class Reference
Inheritance diagram for gcc::diagnostics_output_spec::sarif_scheme_handler:
Collaboration diagram for gcc::diagnostics_output_spec::sarif_scheme_handler:

Public Member Functions

 sarif_scheme_handler ()
 
std::unique_ptr< diagnostic_output_formatmake_sink (const context &ctxt, const char *unparsed_arg, const scheme_name_and_params &parsed_arg) const final override
 
const std::string & get_scheme_name () const
 

Protected Member Functions

bool parse_bool_value (const context &ctxt, const char *unparsed_arg, const std::string &key, const std::string &value, bool &out) const
 
template<typename EnumType , size_t NumValues>
bool parse_enum_value (const context &ctxt, const char *unparsed_arg, const std::string &key, const std::string &value, const std::array< std::pair< const char *, EnumType >, NumValues > &value_names, EnumType &out) const
 

Private Attributes

const std::string m_scheme_name
 

Constructor & Destructor Documentation

◆ sarif_scheme_handler()

gcc::diagnostics_output_spec::sarif_scheme_handler::sarif_scheme_handler ( )
inline

Member Function Documentation

◆ get_scheme_name()

const std::string & gcc::diagnostics_output_spec::output_factory::scheme_handler::get_scheme_name ( ) const
inlineinherited

◆ make_sink()

◆ parse_bool_value()

bool gcc::diagnostics_output_spec::output_factory::scheme_handler::parse_bool_value ( const context & ctxt,
const char * unparsed_arg,
const std::string & key,
const std::string & value,
bool & out ) const
inlineprotectedinherited

◆ parse_enum_value()

template<typename EnumType , size_t NumValues>
bool gcc::diagnostics_output_spec::output_factory::scheme_handler::parse_enum_value ( const context & ctxt,
const char * unparsed_arg,
const std::string & key,
const std::string & value,
const std::array< std::pair< const char *, EnumType >, NumValues > & value_names,
EnumType & out ) const
inlineprotectedinherited

Field Documentation

◆ m_scheme_name

const std::string gcc::diagnostics_output_spec::output_factory::scheme_handler::m_scheme_name
privateinherited

The documentation for this class was generated from the following file: