GCC Middle and Back End API Reference
logical_location Class Referenceabstract

#include <logical-location.h>

Inheritance diagram for logical_location:

Public Member Functions

virtual ~logical_location ()
virtual const charget_short_name () const =0
virtual const charget_name_with_scope () const =0
virtual const charget_internal_name () const =0
virtual enum logical_location_kind get_kind () const =0

Detailed Description

Abstract base class for passing around logical locations in the
diagnostics subsystem, such as:
- "within function 'foo'", or
- "within method 'bar'",
but *without* requiring knowledge of trees
(see tree-logical-location.h for subclasses relating to trees).   

Constructor & Destructor Documentation

◆ ~logical_location()

virtual logical_location::~logical_location ( )

Member Function Documentation

◆ get_internal_name()

virtual const char * logical_location::get_internal_name ( ) const
pure virtual

◆ get_kind()

virtual enum logical_location_kind logical_location::get_kind ( ) const
pure virtual

◆ get_name_with_scope()

virtual const char * logical_location::get_name_with_scope ( ) const
pure virtual

◆ get_short_name()

virtual const char * logical_location::get_short_name ( ) const
pure virtual

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