GCC Middle and Back End API Reference
|
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_location * | get_parent () const |
label_text | get_name_for_path_output () const |
bool | operator< (const diagnostic_logical_location &other) const |
bool | function_p () const |
This has to be a "struct" as it is exposed in the C API.
|
inline |
|
inherited |
class logical_location.
Return true iff this is a function or method.
References gcc_unreachable, logical_location::get_kind(), LOGICAL_LOCATION_KIND_FUNCTION, LOGICAL_LOCATION_KIND_MEMBER, LOGICAL_LOCATION_KIND_MODULE, LOGICAL_LOCATION_KIND_NAMESPACE, LOGICAL_LOCATION_KIND_PARAMETER, LOGICAL_LOCATION_KIND_RETURN_TYPE, LOGICAL_LOCATION_KIND_TYPE, LOGICAL_LOCATION_KIND_UNKNOWN, and LOGICAL_LOCATION_KIND_VARIABLE.
|
inline |
References m_kind.
Referenced by diagnostic_manager_debug_dump_logical_location().
|
inlinefinaloverridevirtual |
Implements logical_location.
References owned_nullable_string::get_str(), and m_decorated_name.
Referenced by diagnostic_manager_debug_dump_logical_location().
|
inlinefinaloverridevirtual |
Implements logical_location.
References DIAGNOSTIC_LOGICAL_LOCATION_KIND_FUNCTION, DIAGNOSTIC_LOGICAL_LOCATION_KIND_MEMBER, DIAGNOSTIC_LOGICAL_LOCATION_KIND_MODULE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_NAMESPACE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_PARAMETER, DIAGNOSTIC_LOGICAL_LOCATION_KIND_RETURN_TYPE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_TYPE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_VARIABLE, gcc_unreachable, LOGICAL_LOCATION_KIND_FUNCTION, LOGICAL_LOCATION_KIND_MEMBER, LOGICAL_LOCATION_KIND_MODULE, LOGICAL_LOCATION_KIND_NAMESPACE, LOGICAL_LOCATION_KIND_PARAMETER, LOGICAL_LOCATION_KIND_RETURN_TYPE, LOGICAL_LOCATION_KIND_TYPE, LOGICAL_LOCATION_KIND_VARIABLE, and m_kind.
Referenced by diagnostic_text_sink::text_starter().
|
inlinevirtual |
Implements logical_location.
References owned_nullable_string::get_str(), and m_short_name.
|
inlinefinaloverridevirtual |
Implements logical_location.
References owned_nullable_string::get_str(), and m_fully_qualified_name.
Referenced by diagnostic_manager_debug_dump_logical_location(), and diagnostic_text_sink::text_starter().
|
inline |
References m_parent.
Referenced by diagnostic_manager_debug_dump_logical_location().
|
inlinefinaloverridevirtual |
Implements logical_location.
References owned_nullable_string::get_str(), and m_short_name.
Referenced by diagnostic_manager_debug_dump_logical_location().
|
inline |
References m_decorated_name, m_fully_qualified_name, m_kind, m_parent, and m_short_name.
|
private |
Referenced by get_internal_name(), and operator<().
|
private |
Referenced by get_name_with_scope(), and operator<().
|
private |
Referenced by get_external_kind(), get_kind(), and operator<().
|
private |
Referenced by get_parent(), and operator<().
|
private |
Referenced by get_name_for_path_output(), get_short_name(), and operator<().