clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::ento::BlockTextRegion Class Reference

#include <MemRegion.h>

Inheritance diagram for clang::ento::BlockTextRegion:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::BlockTextRegion:
Collaboration graph
[legend]

List of all members.

Public Member Functions

QualType getLocationType () const
const BlockDeclgetDecl () const
AnalysisDeclContextgetAnalysisDeclContext () const
virtual void dumpToStream (raw_ostream &os) const
void Profile (llvm::FoldingSetNodeID &ID) const

Static Public Member Functions

static void ProfileRegion (llvm::FoldingSetNodeID &ID, const BlockDecl *BD, CanQualType, const AnalysisDeclContext *, const MemRegion *)
static bool classof (const MemRegion *R)

Friends

class MemRegionManager

Detailed Description

BlockTextRegion - A region that represents code texts of blocks (closures). Blocks are represented with two kinds of regions. BlockTextRegions represent the "code", while BlockDataRegions represent instances of blocks, which correspond to "code+data". The distinction is important, because like a closure a block captures the values of externally referenced variables.

Definition at line 537 of file MemRegion.h.


Member Function Documentation

static bool clang::ento::BlockTextRegion::classof ( const MemRegion R) [inline, static]
virtual void clang::ento::BlockTextRegion::dumpToStream ( raw_ostream &  os) const [virtual]

Reimplemented from clang::ento::MemRegion.

AnalysisDeclContext* clang::ento::BlockTextRegion::getAnalysisDeclContext ( ) const [inline]

Definition at line 557 of file MemRegion.h.

const BlockDecl* clang::ento::BlockTextRegion::getDecl ( ) const [inline]
QualType clang::ento::BlockTextRegion::getLocationType ( ) const [inline, virtual]

Implements clang::ento::TypedRegion.

Definition at line 549 of file MemRegion.h.

void clang::ento::BlockTextRegion::Profile ( llvm::FoldingSetNodeID &  ID) const [virtual]
static void clang::ento::BlockTextRegion::ProfileRegion ( llvm::FoldingSetNodeID &  ID,
const BlockDecl BD,
CanQualType  ,
const AnalysisDeclContext ,
const MemRegion  
) [static]

Friends And Related Function Documentation

friend class MemRegionManager [friend]

Reimplemented from clang::ento::MemRegion.

Definition at line 538 of file MemRegion.h.


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