clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::ento::ElementRegion Class Reference

ElementRegin is used to represent both array elements and casts. More...

#include <MemRegion.h>

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

List of all members.

Public Member Functions

NonLoc getIndex () const
QualType getValueType () const
QualType getElementType () const
RegionRawOffset getAsArrayOffset () const
 Compute the offset within the array. The array might also be a subobject.
void dumpToStream (raw_ostream &os) const
void Profile (llvm::FoldingSetNodeID &ID) const

Static Public Member Functions

static bool classof (const MemRegion *R)

Friends

class MemRegionManager

Detailed Description

ElementRegin is used to represent both array elements and casts.

Definition at line 943 of file MemRegion.h.


Member Function Documentation

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

Reimplemented from clang::ento::MemRegion.

RegionRawOffset ElementRegion::getAsArrayOffset ( ) const
QualType clang::ento::ElementRegion::getElementType ( ) const [inline]
NonLoc clang::ento::ElementRegion::getIndex ( ) const [inline]
QualType clang::ento::ElementRegion::getValueType ( ) const [inline, virtual]

Implements clang::ento::TypedValueRegion.

Definition at line 964 of file MemRegion.h.

Referenced by clang::ento::MemRegion::getAsOffset().

void clang::ento::ElementRegion::Profile ( llvm::FoldingSetNodeID &  ID) const [virtual]

Friends And Related Function Documentation

friend class MemRegionManager [friend]

Reimplemented from clang::ento::MemRegion.

Definition at line 944 of file MemRegion.h.


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