clang API Documentation
#include <SVals.h>
Public Member Functions | |
MemRegionVal (const MemRegion *r) | |
const MemRegion * | getRegion () const |
Get the underlining region. | |
const MemRegion * | stripCasts (bool StripBaseCasts=true) const |
Get the underlining region and strip casts. | |
template<typename REGION > | |
const REGION * | getRegionAs () const |
bool | operator== (const MemRegionVal &R) const |
bool | operator!= (const MemRegionVal &R) const |
Friends | |
class | SVal |
clang::ento::loc::MemRegionVal::MemRegionVal | ( | const MemRegion * | r | ) | [inline, explicit] |
const MemRegion* clang::ento::loc::MemRegionVal::getRegion | ( | ) | const [inline] |
Get the underlining region.
Definition at line 496 of file SVals.h.
References clang::ento::SVal::Data.
Referenced by getRegionAs(), operator!=(), operator==(), clang::ento::ExprEngine::ProcessBaseDtor(), and stripCasts().
const REGION* clang::ento::loc::MemRegionVal::getRegionAs | ( | ) | const [inline] |
Definition at line 504 of file SVals.h.
References getRegion().
bool clang::ento::loc::MemRegionVal::operator!= | ( | const MemRegionVal & | R | ) | const [inline] |
Definition at line 512 of file SVals.h.
References getRegion().
bool clang::ento::loc::MemRegionVal::operator== | ( | const MemRegionVal & | R | ) | const [inline] |
Definition at line 508 of file SVals.h.
References getRegion().
const MemRegion * loc::MemRegionVal::stripCasts | ( | bool | StripBaseCasts = true | ) | const |
Get the underlining region and strip casts.
Definition at line 145 of file SVals.cpp.
References getRegion(), and clang::ento::MemRegion::StripCasts().
Referenced by isSelfVar().
friend class SVal [friend] |
Reimplemented from clang::ento::Loc.