clang  8.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 161 of file CGBlocks.h.

Member Function Documentation

◆ fieldType()

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

Definition at line 197 of file CGBlocks.h.

Referenced by findBlockCapturedManagedEntities(), and getCaptureFieldType().

◆ getCleanup()

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

Definition at line 183 of file CGBlocks.h.

◆ getConstant()

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

Definition at line 192 of file CGBlocks.h.

◆ getIndex()

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

◆ getOffset()

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

Definition at line 179 of file CGBlocks.h.

Referenced by enterBlockScope(), and GetGCAttrTypeForType().

◆ isConstant()

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

◆ isIndex()

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

Definition at line 172 of file CGBlocks.h.

◆ makeConstant()

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

Definition at line 210 of file CGBlocks.h.

References v.

Referenced by computeBlockInfo().

◆ makeIndex()

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

Definition at line 201 of file CGBlocks.h.

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

Referenced by buildBlockDescriptor().

◆ setCleanup()

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

Definition at line 187 of file CGBlocks.h.

References clang::format::cleanup().

Referenced by enterBlockScope().

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