clang API Documentation
#include <MemRegion.h>
Public Member Functions | |
const ObjCIvarDecl * | getDecl () 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 |
Definition at line 960 of file MemRegion.h.
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] |
Reimplemented from clang::ento::DeclRegion.
Definition at line 978 of file MemRegion.h.
References clang::ento::MemRegion::getKind(), and clang::ento::MemRegion::ObjCIvarRegionKind.
void ObjCIvarRegion::dumpToStream | ( | raw_ostream & | os | ) | const [override, virtual] |
Reimplemented from clang::ento::MemRegion.
Definition at line 506 of file MemRegion.cpp.
References getDecl().
const ObjCIvarDecl * ObjCIvarRegion::getDecl | ( | ) | const |
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().
friend class MemRegionManager [friend] |
Reimplemented from clang::ento::MemRegion.
Definition at line 962 of file MemRegion.h.