clang API Documentation

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

#include <MemRegion.h>

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

List of all members.

Public Member Functions

const ObjCIvarDeclgetDecl () const
QualType getValueType () const override
bool canPrintPrettyAsExpr () const override
 Returns true if this region's textual representation can be used as part of a larger expression.
void printPrettyAsExpr (raw_ostream &os) const override
 Print the region as expression.
void dumpToStream (raw_ostream &os) const override

Static Public Member Functions

static bool classof (const MemRegion *R)

Friends

class MemRegionManager

Detailed Description

Definition at line 960 of file MemRegion.h.


Member Function Documentation

bool ObjCIvarRegion::canPrintPrettyAsExpr ( ) const [override, virtual]

Returns true if this region's textual representation can be used as part of a larger expression.

Reimplemented from clang::ento::MemRegion.

Definition at line 597 of file MemRegion.cpp.

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

Reimplemented from clang::ento::MemRegion.

Definition at line 506 of file MemRegion.cpp.

References getDecl().

Reimplemented from clang::ento::DeclRegion.

Definition at line 232 of file MemRegion.cpp.

References clang::ento::DeclRegion::D.

Referenced by dumpToStream(), getValueType(), and printPrettyAsExpr().

QualType ObjCIvarRegion::getValueType ( ) const [override, virtual]

Implements clang::ento::TypedValueRegion.

Definition at line 236 of file MemRegion.cpp.

References getDecl(), and clang::ValueDecl::getType().

void ObjCIvarRegion::printPrettyAsExpr ( raw_ostream &  os) const [override, virtual]

Print the region as expression.

When this region represents a subexpression, the method is for printing an expression containing it.

Reimplemented from clang::ento::MemRegion.

Definition at line 601 of file MemRegion.cpp.

References getDecl(), and clang::NamedDecl::getName().


Friends And Related Function Documentation

friend class MemRegionManager [friend]

Reimplemented from clang::ento::MemRegion.

Definition at line 962 of file MemRegion.h.


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