GCC Middle and Back End API Reference
|
Public Types | |
using | key = diagnostics::logical_locations::key |
using | kind = diagnostics::logical_locations::kind |
Public Member Functions | |
void | dump (FILE *outfile, int indent) const final override |
const char * | get_short_name (key k) const final override |
const char * | get_name_with_scope (key k) const final override |
const char * | get_internal_name (key k) const final override |
kind | get_kind (key k) const final override |
label_text | get_name_for_path_output (key k) const final override |
key | get_parent (key k) const final override |
void DEBUG_FUNCTION | dump () const |
bool | function_p (key k) const |
Static Public Member Functions | |
static const diagnostic_logical_location * | ptr_from_key (key k) |
static key | key_from_ptr (const diagnostic_logical_location *ptr) |
|
inlineinherited |
References DEBUG_FUNCTION, and dump().
Referenced by dump().
|
inlinefinaloverridevirtual |
Implements diagnostics::logical_locations::manager.
References diagnostics::dumping::emit_heading().
class diagnostics::logical_locations::manager.
Return true iff this is a function or method.
References diagnostics::logical_locations::function, gcc_unreachable, get_kind(), diagnostics::logical_locations::member, diagnostics::logical_locations::module_, diagnostics::logical_locations::namespace_, diagnostics::logical_locations::parameter, diagnostics::logical_locations::return_type, diagnostics::logical_locations::type, diagnostics::logical_locations::unknown, and diagnostics::logical_locations::variable.
|
inlinefinaloverridevirtual |
Implements diagnostics::logical_locations::manager.
References ptr_from_key().
Implements diagnostics::logical_locations::manager.
References DIAGNOSTIC_LOGICAL_LOCATION_KIND_ARRAY, DIAGNOSTIC_LOGICAL_LOCATION_KIND_ATTRIBUTE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_COMMENT, DIAGNOSTIC_LOGICAL_LOCATION_KIND_DECLARATION, DIAGNOSTIC_LOGICAL_LOCATION_KIND_DTD, DIAGNOSTIC_LOGICAL_LOCATION_KIND_ELEMENT, DIAGNOSTIC_LOGICAL_LOCATION_KIND_FUNCTION, DIAGNOSTIC_LOGICAL_LOCATION_KIND_MEMBER, DIAGNOSTIC_LOGICAL_LOCATION_KIND_MODULE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_NAMESPACE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_OBJECT, DIAGNOSTIC_LOGICAL_LOCATION_KIND_PARAMETER, DIAGNOSTIC_LOGICAL_LOCATION_KIND_PROCESSING_INSTRUCTION, DIAGNOSTIC_LOGICAL_LOCATION_KIND_PROPERTY, DIAGNOSTIC_LOGICAL_LOCATION_KIND_RETURN_TYPE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_TEXT, DIAGNOSTIC_LOGICAL_LOCATION_KIND_TYPE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_VALUE, DIAGNOSTIC_LOGICAL_LOCATION_KIND_VARIABLE, gcc_assert, gcc_unreachable, and ptr_from_key().
|
inlinefinaloverridevirtual |
Implements diagnostics::logical_locations::manager.
References gcc_assert, and ptr_from_key().
|
inlinefinaloverridevirtual |
Implements diagnostics::logical_locations::manager.
References ptr_from_key().
Implements diagnostics::logical_locations::manager.
References gcc_assert, key_from_ptr(), and ptr_from_key().
|
inlinefinaloverridevirtual |
Implements diagnostics::logical_locations::manager.
References ptr_from_key().
|
inlinestatic |
|
inlinestatic |
References diagnostics::logical_locations::key::cast_to().
Referenced by get_internal_name(), get_kind(), get_name_for_path_output(), get_name_with_scope(), get_parent(), and get_short_name().