struct InlineDescriptor

Declaration

struct InlineDescriptor { /* full declaration omitted */ };

Description

Inline descriptor embedded in structures and arrays. Such descriptors precede all composite array elements and structure fields. If the base of a pointer is not zero, the base points to the end of this structure. The offset field is used to traverse the pointer chain up to the root structure which allocated the object.

Declared at: clang/lib/AST/Interp/Descriptor.h:163

Member Variables

public unsigned int Offset
Offset inside the structure/array.
public unsigned int IsConst
Flag indicating if the storage is constant or not. Relevant for primitive fields.
public unsigned int IsInitialized
For primitive fields, it indicates if the field was initialized. Primitive fields in static storage are always initialized. Arrays are always initialized, even though their elements might not be. Base classes are initialized after the constructor is invoked.
public unsigned int IsBase
Flag indicating if the field is an embedded base class.
public unsigned int IsActive
Flag indicating if the field is the active member of a union.
public unsigned int IsMutable
Flag indicating if the field is mutable (if in a record).
public clang::interp::Descriptor* Desc