clang  3.7.0
Public Member Functions | Public Attributes | List of all members
clang::CXXBasePath Class Reference

Represents a path from a specific derived class (which is not represented as part of the path) to a particular (direct or indirect) base class subobject. More...

#include <CXXInheritance.h>

Inheritance diagram for clang::CXXBasePath:
[legend]
Collaboration diagram for clang::CXXBasePath:
[legend]

Public Member Functions

 CXXBasePath ()
 
void clear ()
 

Public Attributes

AccessSpecifier Access
 The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access. More...
 
DeclContext::lookup_result Decls
 The set of declarations found inside this base class subobject. More...
 

Detailed Description

Represents a path from a specific derived class (which is not represented as part of the path) to a particular (direct or indirect) base class subobject.

Individual elements in the path are described by the CXXBasePathElement structure, which captures both the link from a derived class to one of its direct bases and identification describing which base class subobject is being used.

Definition at line 69 of file CXXInheritance.h.

Constructor & Destructor Documentation

clang::CXXBasePath::CXXBasePath ( )
inline

Definition at line 71 of file CXXInheritance.h.

Member Function Documentation

void clang::CXXBasePath::clear ( )
inline

Definition at line 82 of file CXXInheritance.h.

References Access, clang::AS_public, and clang::clear().

Referenced by clang::CXXBasePaths::clear().

Member Data Documentation

AccessSpecifier clang::CXXBasePath::Access

The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.

Definition at line 76 of file CXXInheritance.h.

Referenced by clang::Sema::CheckBaseClassAccess(), clear(), DiagnoseAccessPath(), FindBestPath(), and IsAccessible().

DeclContext::lookup_result clang::CXXBasePath::Decls

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