clang API Documentation
The region associated with an ObjCStringLiteral. More...
#include <MemRegion.h>
Public Member Functions | |
const ObjCStringLiteral * | getObjCStringLiteral () const |
QualType | getValueType () const override |
bool | isBoundable () const override |
void | Profile (llvm::FoldingSetNodeID &ID) const override |
void | dumpToStream (raw_ostream &os) const override |
Static Public Member Functions | |
static bool | classof (const MemRegion *R) |
Protected Member Functions | |
ObjCStringRegion (const ObjCStringLiteral *str, const MemRegion *sreg) | |
Static Protected Member Functions | |
static void | ProfileRegion (llvm::FoldingSetNodeID &ID, const ObjCStringLiteral *Str, const MemRegion *superRegion) |
Friends | |
class | MemRegionManager |
The region associated with an ObjCStringLiteral.
Definition at line 777 of file MemRegion.h.
clang::ento::ObjCStringRegion::ObjCStringRegion | ( | const ObjCStringLiteral * | str, |
const MemRegion * | sreg | ||
) | [inline, protected] |
Definition at line 782 of file MemRegion.h.
static bool clang::ento::ObjCStringRegion::classof | ( | const MemRegion * | R | ) | [inline, static] |
Reimplemented from clang::ento::TypedValueRegion.
Definition at line 805 of file MemRegion.h.
References clang::ento::MemRegion::getKind(), and clang::ento::MemRegion::ObjCStringRegionKind.
void ObjCStringRegion::dumpToStream | ( | raw_ostream & | os | ) | const [override, virtual] |
Reimplemented from clang::ento::MemRegion.
Definition at line 515 of file MemRegion.cpp.
References clang::ento::MemRegion::getContext(), and clang::Stmt::printPretty().
const ObjCStringLiteral* clang::ento::ObjCStringRegion::getObjCStringLiteral | ( | ) | const [inline] |
Definition at line 791 of file MemRegion.h.
QualType clang::ento::ObjCStringRegion::getValueType | ( | ) | const [inline, override, virtual] |
Implements clang::ento::TypedValueRegion.
Definition at line 793 of file MemRegion.h.
References clang::Expr::getType().
bool clang::ento::ObjCStringRegion::isBoundable | ( | ) | const [inline, override, virtual] |
Reimplemented from clang::ento::TypedRegion.
Definition at line 797 of file MemRegion.h.
void clang::ento::ObjCStringRegion::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [inline, override, virtual] |
Implements clang::ento::MemRegion.
Definition at line 799 of file MemRegion.h.
References ProfileRegion(), and clang::ento::SubRegion::superRegion.
void ObjCStringRegion::ProfileRegion | ( | llvm::FoldingSetNodeID & | ID, |
const ObjCStringLiteral * | Str, | ||
const MemRegion * | superRegion | ||
) | [static, protected] |
Definition at line 270 of file MemRegion.cpp.
References clang::ento::MemRegion::ObjCStringRegionKind.
Referenced by Profile().
friend class MemRegionManager [friend] |
Reimplemented from clang::ento::MemRegion.
Definition at line 778 of file MemRegion.h.