clang 19.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/Interp/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 165 of file InterpBlock.h.

Constructor & Destructor Documentation

◆ DeadBlock()

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

Copies the block.

Definition at line 94 of file InterpBlock.cpp.

References P, and clang::interp::Block::Pointers.

Member Function Documentation

◆ data()

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

Returns a pointer to the stored data.

Definition at line 171 of file InterpBlock.h.

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

◆ rawData()

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

Definition at line 172 of file InterpBlock.h.

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

Friends And Related Function Documentation

◆ Block

friend class Block
friend

Definition at line 175 of file InterpBlock.h.

◆ InterpState

friend class InterpState
friend

Definition at line 176 of file InterpBlock.h.


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