GCC Middle and Back End API Reference
compiler_data_hooks Class Reference
Inheritance diagram for compiler_data_hooks:
Collaboration diagram for compiler_data_hooks:

Public Member Functions

const client_version_infoget_any_version_info () const final override
 
const logical_locationget_current_logical_location () const final override
 
const char * maybe_get_sarif_source_language (const char *filename) const final override
 
void add_sarif_invocation_properties (sarif_object &invocation_obj) const final override
 

Private Attributes

compiler_version_info m_version_info
 
current_fndecl_logical_location m_current_fndecl_logical_loc
 

Detailed Description

Subclass of diagnostic_client_data_hooks for use by compilers proper
i.e. with knowledge of "tree", access to langhooks, timevars etc.   

Member Function Documentation

◆ add_sarif_invocation_properties()

void compiler_data_hooks::add_sarif_invocation_properties ( sarif_object & invocation_obj) const
inlinefinaloverridevirtual

◆ get_any_version_info()

const client_version_info * compiler_data_hooks::get_any_version_info ( ) const
inlinefinaloverridevirtual

◆ get_current_logical_location()

const logical_location * compiler_data_hooks::get_current_logical_location ( ) const
inlinefinaloverridevirtual

◆ maybe_get_sarif_source_language()

const char * compiler_data_hooks::maybe_get_sarif_source_language ( const char * filename) const
inlinefinaloverridevirtual

Field Documentation

◆ m_current_fndecl_logical_loc

current_fndecl_logical_location compiler_data_hooks::m_current_fndecl_logical_loc
private

◆ m_version_info

compiler_version_info compiler_data_hooks::m_version_info
private

Referenced by get_any_version_info().


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