struct CXXBasePathElement
Declaration
struct CXXBasePathElement { /* full declaration omitted */ };
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.
Declared at: clang/include/clang/AST/CXXInheritance.h:44
Member Variables
- public const clang::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.
- public const clang::CXXRecordDecl* Class
- The record decl of the class that the base is a base of.
- public int SubobjectNumber
- This value is only valid if \c !Base->isVirtual(), because there is no base numbering for the zero or one virtual bases of a given type.