clang API Documentation
#include <MemRegion.h>


Classes | |
| class | referenced_vars_iterator |
Public Member Functions | |
| const BlockTextRegion * | getCodeRegion () const |
| const BlockDecl * | getDecl () const |
| referenced_vars_iterator | referenced_vars_begin () const |
| referenced_vars_iterator | referenced_vars_end () const |
| virtual void | dumpToStream (raw_ostream &os) const |
| void | Profile (llvm::FoldingSetNodeID &ID) const |
Static Public Member Functions | |
| static void | ProfileRegion (llvm::FoldingSetNodeID &, const BlockTextRegion *, const LocationContext *, const MemRegion *) |
| static bool | classof (const MemRegion *R) |
Friends | |
| class | MemRegionManager |
BlockDataRegion - A region that represents a block instance. 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 578 of file MemRegion.h.
| static bool clang::ento::BlockDataRegion::classof | ( | const MemRegion * | R | ) | [inline, static] |
Reimplemented from clang::ento::SubRegion.
Definition at line 641 of file MemRegion.h.
References clang::ento::MemRegion::BlockDataRegionKind, and clang::ento::MemRegion::getKind().
| virtual void clang::ento::BlockDataRegion::dumpToStream | ( | raw_ostream & | os | ) | const [virtual] |
Reimplemented from clang::ento::MemRegion.
| const BlockTextRegion* clang::ento::BlockDataRegion::getCodeRegion | ( | ) | const [inline] |
Definition at line 591 of file MemRegion.h.
| const BlockDecl* clang::ento::BlockDataRegion::getDecl | ( | ) | const [inline] |
Definition at line 593 of file MemRegion.h.
References clang::ento::BlockTextRegion::getDecl().
| void clang::ento::BlockDataRegion::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [virtual] |
Implements clang::ento::MemRegion.
| static void clang::ento::BlockDataRegion::ProfileRegion | ( | llvm::FoldingSetNodeID & | , |
| const BlockTextRegion * | , | ||
| const LocationContext * | , | ||
| const MemRegion * | |||
| ) | [static] |
| BlockDataRegion::referenced_vars_iterator BlockDataRegion::referenced_vars_begin | ( | ) | const |
Definition at line 1093 of file MemRegion.cpp.
References clang::BumpVector< T >::begin().
| BlockDataRegion::referenced_vars_iterator BlockDataRegion::referenced_vars_end | ( | ) | const |
Definition at line 1110 of file MemRegion.cpp.
References clang::BumpVector< T >::end().
friend class MemRegionManager [friend] |
Reimplemented from clang::ento::MemRegion.
Definition at line 579 of file MemRegion.h.