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 override
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 override
void Profile (llvm::FoldingSetNodeID &ID) const override

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 1008 of file MemRegion.h.


Member Function Documentation

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

Reimplemented from clang::ento::MemRegion.

Definition at line 497 of file MemRegion.cpp.

References clang::QualType::getAsString(), and getElementType().

QualType clang::ento::ElementRegion::getValueType ( ) const [inline, override, virtual]

Implements clang::ento::TypedValueRegion.

Definition at line 1029 of file MemRegion.h.

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

void ElementRegion::Profile ( llvm::FoldingSetNodeID &  ID) const [override, virtual]

Implements clang::ento::MemRegion.

Definition at line 356 of file MemRegion.cpp.


Friends And Related Function Documentation

friend class MemRegionManager [friend]

Reimplemented from clang::ento::MemRegion.

Definition at line 1009 of file MemRegion.h.


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