clang API Documentation
StringRegion - Region associated with a StringLiteral. More...
#include <MemRegion.h>


Public Member Functions | |
| const StringLiteral * | getStringLiteral () const |
| QualType | getValueType () const |
| DefinedOrUnknownSVal | getExtent (SValBuilder &svalBuilder) const |
| getExtent - Returns the size of the region in bytes. | |
| bool | isBoundable () const |
| void | Profile (llvm::FoldingSetNodeID &ID) const |
| void | dumpToStream (raw_ostream &os) const |
Static Public Member Functions | |
| static bool | classof (const MemRegion *R) |
Protected Member Functions | |
| StringRegion (const StringLiteral *str, const MemRegion *sreg) | |
Static Protected Member Functions | |
| static void | ProfileRegion (llvm::FoldingSetNodeID &ID, const StringLiteral *Str, const MemRegion *superRegion) |
Friends | |
| class | MemRegionManager |
StringRegion - Region associated with a StringLiteral.
Definition at line 683 of file MemRegion.h.
| clang::ento::StringRegion::StringRegion | ( | const StringLiteral * | str, |
| const MemRegion * | sreg | ||
| ) | [inline, protected] |
Definition at line 688 of file MemRegion.h.
| static bool clang::ento::StringRegion::classof | ( | const MemRegion * | R | ) | [inline, static] |
Reimplemented from clang::ento::TypedValueRegion.
Definition at line 713 of file MemRegion.h.
References clang::ento::MemRegion::getKind(), and clang::ento::MemRegion::StringRegionKind.
| void clang::ento::StringRegion::dumpToStream | ( | raw_ostream & | os | ) | const [virtual] |
Reimplemented from clang::ento::MemRegion.
| DefinedOrUnknownSVal clang::ento::StringRegion::getExtent | ( | SValBuilder & | svalBuilder | ) | const [virtual] |
getExtent - Returns the size of the region in bytes.
Reimplemented from clang::ento::SubRegion.
| const StringLiteral* clang::ento::StringRegion::getStringLiteral | ( | ) | const [inline] |
Definition at line 697 of file MemRegion.h.
| QualType clang::ento::StringRegion::getValueType | ( | ) | const [inline, virtual] |
Implements clang::ento::TypedValueRegion.
Definition at line 699 of file MemRegion.h.
References clang::Expr::getType().
| bool clang::ento::StringRegion::isBoundable | ( | ) | const [inline, virtual] |
Reimplemented from clang::ento::TypedRegion.
Definition at line 705 of file MemRegion.h.
| void clang::ento::StringRegion::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [inline, virtual] |
Implements clang::ento::MemRegion.
Definition at line 707 of file MemRegion.h.
References ProfileRegion(), and clang::ento::SubRegion::superRegion.
| static void clang::ento::StringRegion::ProfileRegion | ( | llvm::FoldingSetNodeID & | ID, |
| const StringLiteral * | Str, | ||
| const MemRegion * | superRegion | ||
| ) | [static, protected] |
Referenced by Profile().
friend class MemRegionManager [friend] |
Reimplemented from clang::ento::MemRegion.
Definition at line 684 of file MemRegion.h.