clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Friends
clang::ento::ObjCStringRegion Class Reference

The region associated with an ObjCStringLiteral. More...

#include <MemRegion.h>

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

List of all members.

Public Member Functions

const ObjCStringLiteralgetObjCStringLiteral () 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

Detailed Description

The region associated with an ObjCStringLiteral.

Definition at line 777 of file MemRegion.h.


Constructor & Destructor Documentation

clang::ento::ObjCStringRegion::ObjCStringRegion ( const ObjCStringLiteral str,
const MemRegion sreg 
) [inline, protected]

Definition at line 782 of file MemRegion.h.


Member Function Documentation

static bool clang::ento::ObjCStringRegion::classof ( const MemRegion R) [inline, static]
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().

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().


Friends And Related Function Documentation

friend class MemRegionManager [friend]

Reimplemented from clang::ento::MemRegion.

Definition at line 778 of file MemRegion.h.


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