clang 20.0.0git
|
Represents an element in a path from a derived class to a base class. More...
#include "clang/AST/CXXInheritance.h"
Public Attributes | |
const CXXBaseSpecifier * | 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. | |
const CXXRecordDecl * | Class |
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. | |
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.
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.
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.