clang 20.0.0git
Public Member Functions | Friends | List of all members
clang::interp::DeadBlock Class Referencefinal

Descriptor for a dead block. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/InterpBlock.h"

Public Member Functions

 DeadBlock (DeadBlock *&Root, Block *Blk)
 Copies the block.
 
std::byte * data ()
 Returns a pointer to the stored data.
 
std::byte * rawData ()
 

Friends

class Block
 
class InterpState
 

Detailed Description

Descriptor for a dead block.

Dead blocks are chained in a double-linked list to deallocate them whenever pointers become dead.

Definition at line 184 of file InterpBlock.h.

Constructor & Destructor Documentation

◆ DeadBlock()

DeadBlock::DeadBlock ( DeadBlock *&  Root,
Block Blk 
)

Copies the block.

Definition at line 102 of file InterpBlock.cpp.

References P.

Member Function Documentation

◆ data()

std::byte * clang::interp::DeadBlock::data ( )
inline

Returns a pointer to the stored data.

Definition at line 190 of file InterpBlock.h.

References clang::interp::Block::data().

◆ rawData()

std::byte * clang::interp::DeadBlock::rawData ( )
inline

Definition at line 191 of file InterpBlock.h.

References clang::interp::Block::rawData().

Friends And Related Function Documentation

◆ Block

friend class Block
friend

Definition at line 194 of file InterpBlock.h.

◆ InterpState

friend class InterpState
friend

Definition at line 195 of file InterpBlock.h.


The documentation for this class was generated from the following files: