clang  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::CodeGen::CGBlockInfo::Capture Class Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CGBlocks.h"

Public Member Functions

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

Static Public Member Functions

static Capture makeIndex (unsigned index, CharUnits offset, QualType FieldType)
 
static Capture makeConstant (llvm::Value *value)
 

Detailed Description

Definition at line 157 of file CGBlocks.h.

Member Function Documentation

◆ fieldType()

QualType clang::CodeGen::CGBlockInfo::Capture::fieldType ( ) const
inline

Definition at line 193 of file CGBlocks.h.

Referenced by getCaptureFieldType().

◆ getCleanup()

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

Definition at line 179 of file CGBlocks.h.

◆ getConstant()

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

Definition at line 188 of file CGBlocks.h.

◆ getIndex()

unsigned clang::CodeGen::CGBlockInfo::Capture::getIndex ( ) const
inline

◆ getOffset()

CharUnits clang::CodeGen::CGBlockInfo::Capture::getOffset ( ) const
inline

Definition at line 175 of file CGBlocks.h.

Referenced by enterBlockScope(), and GetGCAttrTypeForType().

◆ isConstant()

bool clang::CodeGen::CGBlockInfo::Capture::isConstant ( ) const
inline

◆ isIndex()

bool clang::CodeGen::CGBlockInfo::Capture::isIndex ( ) const
inline

Definition at line 168 of file CGBlocks.h.

◆ makeConstant()

static Capture clang::CodeGen::CGBlockInfo::Capture::makeConstant ( llvm::Value value)
inlinestatic

Definition at line 206 of file CGBlocks.h.

References v.

Referenced by computeBlockInfo().

◆ makeIndex()

static Capture clang::CodeGen::CGBlockInfo::Capture::makeIndex ( unsigned  index,
CharUnits  offset,
QualType  FieldType 
)
inlinestatic

Definition at line 197 of file CGBlocks.h.

References clang::CharUnits::getQuantity(), and v.

Referenced by buildBlockDescriptor().

◆ setCleanup()

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

Definition at line 183 of file CGBlocks.h.

References clang::format::cleanup().

Referenced by enterBlockScope().


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