clang API Documentation
#include <MemRegion.h>


Public Member Functions | |
| const FieldDecl * | getDecl () const |
| QualType | getValueType () const |
| DefinedOrUnknownSVal | getExtent (SValBuilder &svalBuilder) const |
| getExtent - Returns the size of the region in bytes. | |
| void | dumpToStream (raw_ostream &os) const |
| void | dumpPretty (raw_ostream &os) const |
| Print the region for use in diagnostics. | |
Static Public Member Functions | |
| static void | ProfileRegion (llvm::FoldingSetNodeID &ID, const FieldDecl *FD, const MemRegion *superRegion) |
| static bool | classof (const MemRegion *R) |
Friends | |
| class | MemRegionManager |
Definition at line 869 of file MemRegion.h.
| static bool clang::ento::FieldRegion::classof | ( | const MemRegion * | R | ) | [inline, static] |
Reimplemented from clang::ento::DeclRegion.
Definition at line 890 of file MemRegion.h.
References clang::ento::MemRegion::FieldRegionKind, and clang::ento::MemRegion::getKind().
| void FieldRegion::dumpPretty | ( | raw_ostream & | os | ) | const [virtual] |
Print the region for use in diagnostics.
Reimplemented from clang::ento::MemRegion.
Definition at line 537 of file MemRegion.cpp.
| void clang::ento::FieldRegion::dumpToStream | ( | raw_ostream & | os | ) | const [virtual] |
Reimplemented from clang::ento::MemRegion.
| const FieldDecl* clang::ento::FieldRegion::getDecl | ( | ) | const [inline] |
Reimplemented from clang::ento::DeclRegion.
Definition at line 876 of file MemRegion.h.
References clang::ento::DeclRegion::D.
Referenced by clang::ento::MemRegion::getAsOffset(), clang::ento::MemRegionManager::getFieldRegionWithSuper(), and getValueType().
| DefinedOrUnknownSVal StringRegion::getExtent | ( | SValBuilder & | svalBuilder | ) | const [virtual] |
getExtent - Returns the size of the region in bytes.
Reimplemented from clang::ento::DeclRegion.
Definition at line 182 of file MemRegion.cpp.
References clang::ento::SValBuilder::getArrayIndexType(), clang::ento::SValBuilder::getContext(), clang::ento::TypedValueRegion::getDesugaredValueType(), clang::ento::SymbolManager::getExtentSymbol(), clang::CharUnits::getQuantity(), clang::ento::SValBuilder::getSymbolManager(), clang::ASTContext::getTypeSizeInChars(), and clang::ento::SValBuilder::makeIntVal().
| QualType clang::ento::FieldRegion::getValueType | ( | ) | const [inline, virtual] |
Implements clang::ento::TypedValueRegion.
Definition at line 878 of file MemRegion.h.
References getDecl(), and clang::ValueDecl::getType().
| static void clang::ento::FieldRegion::ProfileRegion | ( | llvm::FoldingSetNodeID & | ID, |
| const FieldDecl * | FD, | ||
| const MemRegion * | superRegion | ||
| ) | [inline, static] |
Definition at line 885 of file MemRegion.h.
References clang::ento::MemRegion::FieldRegionKind.
friend class MemRegionManager [friend] |
Reimplemented from clang::ento::MemRegion.
Definition at line 870 of file MemRegion.h.