clang 22.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
LValuePathEntrygetPath ()
const LValuePathEntrygetPath () 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 221 of file APValue.cpp.

Constructor & Destructor Documentation

◆ LV()

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

Definition at line 233 of file APValue.cpp.

◆ ~LV()

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

Definition at line 234 of file APValue.cpp.

References resizePath().

Member Function Documentation

◆ getPath() [1/2]

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

Definition at line 249 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 250 of file APValue.cpp.

References hasPathPtr(), Path, and PathPtr.

◆ hasPath()

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

Definition at line 246 of file APValue.cpp.

Referenced by hasPathPtr().

◆ hasPathPtr()

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

Definition at line 247 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 236 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:207

Definition at line 222 of file APValue.cpp.

Referenced by hasPathPtr().

◆ Path

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

Definition at line 229 of file APValue.cpp.

Referenced by getPath(), and getPath().

◆ PathPtr

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

Definition at line 230 of file APValue.cpp.

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


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