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 char * get_short_name () const =0
 
virtual const char * get_name_with_scope () const =0
 
virtual const char * get_internal_name () const =0
 
virtual enum logical_location_kind get_kind () const =0
 
virtual label_text get_name_for_path_output () const =0
 
bool function_p () const
 

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 concrete subclasses relating to trees,
and selftest-logical-location.h for a concrete subclass for selftests).   

Constructor & Destructor Documentation

◆ ~logical_location()

virtual logical_location::~logical_location ( )
inlinevirtual

Member Function Documentation

◆ function_p()

◆ 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_for_path_output()

virtual label_text logical_location::get_name_for_path_output ( ) 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 files: