clang API Documentation

Public Member Functions | Friends
clang::ento::loc::MemRegionVal Class Reference

#include <SVals.h>

Inheritance diagram for clang::ento::loc::MemRegionVal:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::loc::MemRegionVal:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MemRegionVal (const MemRegion *r)
const MemRegiongetRegion () const
 Get the underlining region.
const MemRegionstripCasts (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

Detailed Description

Definition at line 491 of file SVals.h.


Constructor & Destructor Documentation

clang::ento::loc::MemRegionVal::MemRegionVal ( const MemRegion r) [inline, explicit]

Definition at line 493 of file SVals.h.


Member Function Documentation

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().

template<typename REGION >
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().


Friends And Related Function Documentation

friend class SVal [friend]

Reimplemented from clang::ento::Loc.

Definition at line 517 of file SVals.h.


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