GCC Middle and Back End API Reference
diagnostic_logical_location Struct Reference
Inheritance diagram for diagnostic_logical_location:
Collaboration diagram for diagnostic_logical_location:

Public Member Functions

 diagnostic_logical_location (enum diagnostic_logical_location_kind_t kind, const diagnostic_logical_location *parent, const char *short_name, const char *fully_qualified_name, const char *decorated_name)
 
const char * get_short_name () const final override
 
const char * get_name_with_scope () const final override
 
const char * get_internal_name () const final override
 
enum logical_location_kind get_kind () const final override
 
enum diagnostic_logical_location_kind_t get_external_kind () const
 
const diagnostic_logical_locationget_parent () const
 
label_text get_name_for_path_output () const
 
bool operator< (const diagnostic_logical_location &other) const
 
bool function_p () const
 

Private Attributes

enum diagnostic_logical_location_kind_t m_kind
 
const diagnostic_logical_locationm_parent
 
owned_nullable_string m_short_name
 
owned_nullable_string m_fully_qualified_name
 
owned_nullable_string m_decorated_name
 

Detailed Description

This has to be a "struct" as it is exposed in the C API.   

Constructor & Destructor Documentation

◆ diagnostic_logical_location()

diagnostic_logical_location::diagnostic_logical_location ( enum diagnostic_logical_location_kind_t kind,
const diagnostic_logical_location * parent,
const char * short_name,
const char * fully_qualified_name,
const char * decorated_name )
inline

Member Function Documentation

◆ function_p()

◆ get_external_kind()

enum diagnostic_logical_location_kind_t diagnostic_logical_location::get_external_kind ( ) const
inline

◆ get_internal_name()

const char * diagnostic_logical_location::get_internal_name ( ) const
inlinefinaloverridevirtual

◆ get_kind()

◆ get_name_for_path_output()

label_text diagnostic_logical_location::get_name_for_path_output ( ) const
inlinevirtual

◆ get_name_with_scope()

const char * diagnostic_logical_location::get_name_with_scope ( ) const
inlinefinaloverridevirtual

◆ get_parent()

const diagnostic_logical_location * diagnostic_logical_location::get_parent ( ) const
inline

◆ get_short_name()

const char * diagnostic_logical_location::get_short_name ( ) const
inlinefinaloverridevirtual

◆ operator<()

bool diagnostic_logical_location::operator< ( const diagnostic_logical_location & other) const
inline

Field Documentation

◆ m_decorated_name

owned_nullable_string diagnostic_logical_location::m_decorated_name
private

Referenced by get_internal_name(), and operator<().

◆ m_fully_qualified_name

owned_nullable_string diagnostic_logical_location::m_fully_qualified_name
private

Referenced by get_name_with_scope(), and operator<().

◆ m_kind

enum diagnostic_logical_location_kind_t diagnostic_logical_location::m_kind
private

◆ m_parent

const diagnostic_logical_location* diagnostic_logical_location::m_parent
private

Referenced by get_parent(), and operator<().

◆ m_short_name

owned_nullable_string diagnostic_logical_location::m_short_name
private

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