clang  3.7.0
Public Attributes | List of all members
clang::CXXBasePathElement Struct Reference

Represents an element in a path from a derived class to a base class. More...

#include <CXXInheritance.h>

Collaboration diagram for clang::CXXBasePathElement:
[legend]

Public Attributes

const CXXBaseSpecifierBase
 The base specifier that states the link from a derived class to a base class, which will be followed by this base path element. More...
 
const CXXRecordDeclClass
 The record decl of the class that the base is a base of. More...
 
int SubobjectNumber
 Identifies which base class subobject (of type Base->getType()) this base path element refers to. More...
 

Detailed Description

Represents an element in a path from a derived class to a base class.

Each step in the path references the link from a derived class to one of its direct base classes, along with a base "number" that identifies which base subobject of the original derived class we are referencing.

Definition at line 43 of file CXXInheritance.h.

Member Data Documentation

const CXXBaseSpecifier* clang::CXXBasePathElement::Base

The base specifier that states the link from a derived class to a base class, which will be followed by this base path element.

Definition at line 47 of file CXXInheritance.h.

Referenced by clang::Sema::LookupQualifiedName().

const CXXRecordDecl* clang::CXXBasePathElement::Class

The record decl of the class that the base is a base of.

Definition at line 50 of file CXXInheritance.h.

int clang::CXXBasePathElement::SubobjectNumber

Identifies which base class subobject (of type Base->getType()) this base path element refers to.

This value is only valid if !Base->isVirtual(), because there is no base numbering for the zero or one virtual bases of a given type.

Definition at line 58 of file CXXInheritance.h.

Referenced by clang::Sema::LookupQualifiedName().


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