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 override
const BlockDeclgetDecl () const
AnalysisDeclContextgetAnalysisDeclContext () const
virtual void dumpToStream (raw_ostream &os) const override
void Profile (llvm::FoldingSetNodeID &ID) const override

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 590 of file MemRegion.h.


Member Function Documentation

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

Reimplemented from clang::ento::MemRegion.

Definition at line 464 of file MemRegion.cpp.

Definition at line 610 of file MemRegion.h.

QualType clang::ento::BlockTextRegion::getLocationType ( ) const [inline, override, virtual]

Implements clang::ento::TypedRegion.

Definition at line 602 of file MemRegion.h.

Referenced by clang::ento::BlockDataRegion::getLocationType().

void BlockTextRegion::Profile ( llvm::FoldingSetNodeID &  ID) const [override, virtual]

Implements clang::ento::MemRegion.

Definition at line 379 of file MemRegion.cpp.

References ProfileRegion().

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

Definition at line 371 of file MemRegion.cpp.

References clang::ento::MemRegion::BlockTextRegionKind.

Referenced by Profile().


Friends And Related Function Documentation

friend class MemRegionManager [friend]

Reimplemented from clang::ento::MemRegion.

Definition at line 591 of file MemRegion.h.


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