clang 22.0.0git
clang::APValue::MemberPointerData Struct Reference
Inheritance diagram for clang::APValue::MemberPointerData:
[legend]

Public Types

typedef const CXXRecordDeclPathElem

Public Member Functions

 MemberPointerData ()
 ~MemberPointerData ()
void resizePath (unsigned Length)
bool hasPathPtr () const
PathElemgetPath ()
const PathElemgetPath () const

Public Attributes

union { 
   PathElem   Path [InlinePathSpace] 
   PathElem *   PathPtr 
}; 

Static Public Attributes

static const unsigned InlinePathSpace

Detailed Description

Definition at line 262 of file APValue.cpp.

Member Typedef Documentation

◆ PathElem

Definition at line 265 of file APValue.cpp.

Constructor & Destructor Documentation

◆ MemberPointerData()

clang::APValue::MemberPointerData::MemberPointerData ( )
inline

Definition at line 271 of file APValue.cpp.

◆ ~MemberPointerData()

clang::APValue::MemberPointerData::~MemberPointerData ( )
inline

Definition at line 272 of file APValue.cpp.

References resizePath().

Member Function Documentation

◆ getPath() [1/2]

PathElem * clang::APValue::MemberPointerData::getPath ( )
inline

Definition at line 286 of file APValue.cpp.

References hasPathPtr(), Path, and PathPtr.

Referenced by clang::APValue::getMemberPointerPath().

◆ getPath() [2/2]

const PathElem * clang::APValue::MemberPointerData::getPath ( ) const
inline

Definition at line 287 of file APValue.cpp.

References hasPathPtr(), Path, and PathPtr.

◆ hasPathPtr()

bool clang::APValue::MemberPointerData::hasPathPtr ( ) const
inline

Definition at line 284 of file APValue.cpp.

References InlinePathSpace.

Referenced by getPath(), getPath(), and resizePath().

◆ resizePath()

void clang::APValue::MemberPointerData::resizePath ( unsigned Length)
inline

Definition at line 274 of file APValue.cpp.

References hasPathPtr(), and PathPtr.

Referenced by ~MemberPointerData().

Member Data Documentation

◆ [union]

◆ InlinePathSpace

const unsigned clang::APValue::MemberPointerData::InlinePathSpace
static
Initial value:
=
(DataSize - sizeof(MemberPointerBase)) / sizeof(const CXXRecordDecl*)
Represents a C++ struct/union/class.
Definition DeclCXX.h:258

Definition at line 263 of file APValue.cpp.

Referenced by hasPathPtr().

◆ Path

PathElem clang::APValue::MemberPointerData::Path[InlinePathSpace]

Definition at line 267 of file APValue.cpp.

Referenced by getPath(), and getPath().

◆ PathPtr

PathElem* clang::APValue::MemberPointerData::PathPtr

Definition at line 268 of file APValue.cpp.

Referenced by getPath(), getPath(), and resizePath().


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