clang API Documentation

Public Attributes
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:
Collaboration graph
[legend]

List of all members.

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.
const CXXRecordDeclClass
 The record decl of the class that the base is a base of.
int SubobjectNumber
 Identifies which base class subobject (of type Base->getType()) this base path element refers to.

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

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().

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

Definition at line 50 of file CXXInheritance.h.

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: