clang 17.0.0git
|
Bitfield tracking the initialisation status of elements of primitive arrays. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/Interp/Descriptor.h"
Public Member Functions | |
bool | initialize (unsigned I) |
Initializes an element. Returns true when object if fully initialized. | |
bool | isInitialized (unsigned I) const |
Checks if an element was initialized. | |
Static Public Member Functions | |
static InitMap * | allocate (unsigned N) |
Allocates a map holding N elements. | |
Bitfield tracking the initialisation status of elements of primitive arrays.
A pointer to this is embedded at the end of all primitive arrays. If the map was not yet created and nothing was initialized, the pointer to this structure is 0. If the object was fully initialized, the pointer is -1.
Definition at line 193 of file Descriptor.h.
Allocates a map holding N elements.
Definition at line 311 of file Descriptor.cpp.
References clang::interp::align().
Referenced by clang::interp::Pointer::initialize().
Initializes an element. Returns true when object if fully initialized.
Definition at line 296 of file Descriptor.cpp.
Referenced by clang::interp::Pointer::initialize().
Checks if an element was initialized.
Definition at line 306 of file Descriptor.cpp.
Referenced by clang::interp::Pointer::isInitialized().