clang 24.0.0git
clang::APValue::LV Struct Reference
Inheritance diagram for clang::APValue::LV:
[legend]

Public Member Functions

 LV ()
 ~LV ()
void resizePath (unsigned Length)
bool hasPath () const
bool hasPathPtr () const
LValuePathEntry * getPath ()
const LValuePathEntry * getPath () const

Public Attributes

union { 
   LValuePathEntry   Path [InlinePathSpace] 
   LValuePathEntry *   PathPtr 
}; 
 Path - The sequence of base classes, fields and array indices to follow to walk from Base to the subobject.

Static Public Attributes

static const unsigned InlinePathSpace

Detailed Description

Definition at line 267 of file APValue.cpp.

Constructor & Destructor Documentation

◆ LV()

clang::APValue::LV::LV ( )
inline

Definition at line 279 of file APValue.cpp.

◆ ~LV()

clang::APValue::LV::~LV ( )
inline

Definition at line 280 of file APValue.cpp.

References resizePath().

Member Function Documentation

◆ getPath() [1/2]

LValuePathEntry * clang::APValue::LV::getPath ( )
inline

Definition at line 295 of file APValue.cpp.

References hasPathPtr(), Path, and PathPtr.

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

◆ getPath() [2/2]

const LValuePathEntry * clang::APValue::LV::getPath ( ) const
inline

Definition at line 296 of file APValue.cpp.

References hasPathPtr(), Path, and PathPtr.

◆ hasPath()

bool clang::APValue::LV::hasPath ( ) const
inline

Definition at line 292 of file APValue.cpp.

Referenced by hasPathPtr().

◆ hasPathPtr()

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

Definition at line 293 of file APValue.cpp.

References hasPath(), and InlinePathSpace.

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

◆ resizePath()

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

Definition at line 282 of file APValue.cpp.

References hasPathPtr(), and PathPtr.

Referenced by clang::APValue::setLValue(), and ~LV().

Member Data Documentation

◆ [union]

union { ... } clang::APValue::LV

Path - The sequence of base classes, fields and array indices to follow to walk from Base to the subobject.

When performing GCC-style folding, there may not be such a path.

◆ InlinePathSpace

const unsigned clang::APValue::LV::InlinePathSpace
static
Initial value:
=
(DataSize - sizeof(LVBase)) / sizeof(LValuePathEntry)
A non-discriminated union of a base, field, or array index.
Definition APValue.h:245

Definition at line 268 of file APValue.cpp.

Referenced by hasPathPtr().

◆ Path

LValuePathEntry clang::APValue::LV::Path[InlinePathSpace]

Definition at line 275 of file APValue.cpp.

Referenced by getPath(), and getPath().

◆ PathPtr

LValuePathEntry* clang::APValue::LV::PathPtr

Definition at line 276 of file APValue.cpp.

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


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