class DeadBlock

Declaration

class DeadBlock { /* full declaration omitted */ };

Description

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

Declared at: clang/lib/AST/Interp/InterpBlock.h:110

Member Variables

private clang::interp::DeadBlock*& Root
Root pointer of the list.
private clang::interp::DeadBlock* Prev
Previous block in the list.
private clang::interp::DeadBlock* Next
Next block in the list.
private clang::interp::Block B
Actual block storing data and tracking pointers.

Method Overview

  • public DeadBlock(clang::interp::DeadBlock *& Root, clang::interp::Block * Blk)
  • public char * data()
  • private void free()

Methods

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

Description

Copies the block.

Declared at: clang/lib/AST/Interp/InterpBlock.h:113

Parameters

clang::interp::DeadBlock*& Root
clang::interp::Block* Blk

char* data()

Description

Returns a pointer to the stored data.

Declared at: clang/lib/AST/Interp/InterpBlock.h:116

void free()

Declared at: clang/lib/AST/Interp/InterpBlock.h:122