clang 24.0.0git
clang::interp::Record::Field Struct Reference

Describes a record field. More...

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Record.h"

Public Member Functions

bool isBitField () const
bool isUnnamedBitField () const
unsigned bitWidth () const
 Field (const FieldDecl *D, const Descriptor *Desc, unsigned Offset, OptPrimType T)

Public Attributes

const FieldDeclDecl
const DescriptorDesc
unsigned Offset
OptPrimType T
bool IsBitField
bool IsUnnamedBitField

Detailed Description

Describes a record field.

Definition at line 29 of file Record.h.

Constructor & Destructor Documentation

◆ Field()

clang::interp::Record::Field::Field ( const FieldDecl * D,
const Descriptor * Desc,
unsigned Offset,
OptPrimType T )
inline

Definition at line 44 of file Record.h.

References Decl, Desc, IsBitField, IsUnnamedBitField, Offset, and T.

Member Function Documentation

◆ bitWidth()

unsigned clang::interp::Record::Field::bitWidth ( ) const
inline

Definition at line 39 of file Record.h.

References Decl, and isBitField().

◆ isBitField()

bool clang::interp::Record::Field::isBitField ( ) const
inline

Definition at line 37 of file Record.h.

References IsBitField.

Referenced by bitWidth().

◆ isUnnamedBitField()

bool clang::interp::Record::Field::isUnnamedBitField ( ) const
inline

Definition at line 38 of file Record.h.

References IsUnnamedBitField.

Member Data Documentation

◆ Decl

const FieldDecl* clang::interp::Record::Field::Decl

Definition at line 30 of file Record.h.

Referenced by bitWidth(), and Field().

◆ Desc

const Descriptor* clang::interp::Record::Field::Desc

Definition at line 31 of file Record.h.

Referenced by Field().

◆ IsBitField

bool clang::interp::Record::Field::IsBitField

Definition at line 34 of file Record.h.

Referenced by Field(), and isBitField().

◆ IsUnnamedBitField

bool clang::interp::Record::Field::IsUnnamedBitField

Definition at line 35 of file Record.h.

Referenced by Field(), and isUnnamedBitField().

◆ Offset

unsigned clang::interp::Record::Field::Offset

◆ T

OptPrimType clang::interp::Record::Field::T

Definition at line 33 of file Record.h.

Referenced by Field().


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