clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
clang::ento::SubRegion Class Reference

#include <MemRegion.h>

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

List of all members.

Public Member Functions

const MemRegiongetSuperRegion () const
virtual DefinedOrUnknownSVal getExtent (SValBuilder &svalBuilder) const
 getExtent - Returns the size of the region in bytes.
MemRegionManagergetMemRegionManager () const override
bool isSubRegionOf (const MemRegion *R) const override
 Check if the region is a subregion of the given region.

Static Public Member Functions

static bool classof (const MemRegion *R)

Protected Member Functions

 SubRegion (const MemRegion *sReg, Kind k)

Protected Attributes

const MemRegionsuperRegion

Detailed Description

SubRegion - A region that subsets another larger region. Most regions are subclasses of SubRegion.

Definition at line 414 of file MemRegion.h.


Constructor & Destructor Documentation

clang::ento::SubRegion::SubRegion ( const MemRegion sReg,
Kind  k 
) [inline, protected]

Definition at line 419 of file MemRegion.h.


Member Function Documentation

static bool clang::ento::SubRegion::classof ( const MemRegion R) [inline, static]
virtual DefinedOrUnknownSVal clang::ento::SubRegion::getExtent ( SValBuilder svalBuilder) const [inline, virtual]

getExtent - Returns the size of the region in bytes.

Reimplemented in clang::ento::FieldRegion, clang::ento::StringRegion, clang::ento::SymbolicRegion, clang::ento::TypedValueRegion, and clang::ento::AllocaRegion.

Definition at line 426 of file MemRegion.h.

Referenced by collectSubRegionBindings().

MemRegionManager * SubRegion::getMemRegionManager ( ) const [override, virtual]
bool SubRegion::isSubRegionOf ( const MemRegion R) const [override, virtual]

Check if the region is a subregion of the given region.

Reimplemented from clang::ento::MemRegion.

Definition at line 149 of file MemRegion.cpp.

References getSuperRegion().

Referenced by collectSubRegionBindings().


Member Data Documentation


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