clang API Documentation

Public Member Functions | Static Public Member Functions
clang::CodeGen::CGBlockInfo::Capture Class Reference

#include <CGBlocks.h>

List of all members.

Public Member Functions

bool isIndex () const
bool isConstant () const
unsigned getIndex () const
llvm::ValuegetConstant () const
EHScopeStack::stable_iterator getCleanup () const
void setCleanup (EHScopeStack::stable_iterator cleanup)

Static Public Member Functions

static Capture makeIndex (unsigned index)
static Capture makeConstant (llvm::Value *value)

Detailed Description

Definition at line 137 of file CGBlocks.h.


Member Function Documentation

EHScopeStack::stable_iterator clang::CodeGen::CGBlockInfo::Capture::getCleanup ( ) const [inline]

Definition at line 149 of file CGBlocks.h.

References isIndex().

Referenced by clang::CodeGen::CodeGenFunction::EmitBlockLiteral().

llvm::Value* clang::CodeGen::CGBlockInfo::Capture::getConstant ( ) const [inline]

Definition at line 145 of file CGBlocks.h.

References isConstant().

Referenced by clang::CodeGen::CodeGenFunction::GenerateBlockFunction().

unsigned clang::CodeGen::CGBlockInfo::Capture::getIndex ( ) const [inline]
bool clang::CodeGen::CGBlockInfo::Capture::isConstant ( ) const [inline]
bool clang::CodeGen::CGBlockInfo::Capture::isIndex ( ) const [inline]

Definition at line 142 of file CGBlocks.h.

Referenced by getCleanup(), getIndex(), isConstant(), and setCleanup().

static Capture clang::CodeGen::CGBlockInfo::Capture::makeConstant ( llvm::Value value) [inline, static]

Definition at line 164 of file CGBlocks.h.

Referenced by computeBlockInfo().

static Capture clang::CodeGen::CGBlockInfo::Capture::makeIndex ( unsigned  index) [inline, static]

Definition at line 158 of file CGBlocks.h.

void clang::CodeGen::CGBlockInfo::Capture::setCleanup ( EHScopeStack::stable_iterator  cleanup) [inline]

Definition at line 153 of file CGBlocks.h.

References isIndex().

Referenced by enterBlockScope().


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