clang API Documentation
FunctionTextRegion - A region that represents code texts of function. More...
#include <MemRegion.h>


Public Member Functions | |
| FunctionTextRegion (const FunctionDecl *fd, const MemRegion *sreg) | |
| QualType | getLocationType () const |
| const FunctionDecl * | getDecl () const |
| virtual void | dumpToStream (raw_ostream &os) const |
| void | Profile (llvm::FoldingSetNodeID &ID) const |
Static Public Member Functions | |
| static void | ProfileRegion (llvm::FoldingSetNodeID &ID, const FunctionDecl *FD, const MemRegion *) |
| static bool | classof (const MemRegion *R) |
FunctionTextRegion - A region that represents code texts of function.
Definition at line 504 of file MemRegion.h.
| clang::ento::FunctionTextRegion::FunctionTextRegion | ( | const FunctionDecl * | fd, |
| const MemRegion * | sreg | ||
| ) | [inline] |
Definition at line 507 of file MemRegion.h.
| static bool clang::ento::FunctionTextRegion::classof | ( | const MemRegion * | R | ) | [inline, static] |
Reimplemented from clang::ento::CodeTextRegion.
Definition at line 525 of file MemRegion.h.
References clang::ento::MemRegion::FunctionTextRegionKind, and clang::ento::MemRegion::getKind().
| virtual void clang::ento::FunctionTextRegion::dumpToStream | ( | raw_ostream & | os | ) | const [virtual] |
Reimplemented from clang::ento::MemRegion.
| const FunctionDecl* clang::ento::FunctionTextRegion::getDecl | ( | ) | const [inline] |
Definition at line 514 of file MemRegion.h.
| QualType clang::ento::FunctionTextRegion::getLocationType | ( | ) | const [inline, virtual] |
Implements clang::ento::TypedRegion.
Definition at line 510 of file MemRegion.h.
References clang::ento::MemRegion::getContext(), clang::ASTContext::getPointerType(), and clang::ValueDecl::getType().
| void clang::ento::FunctionTextRegion::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [virtual] |
Implements clang::ento::MemRegion.
| static void clang::ento::FunctionTextRegion::ProfileRegion | ( | llvm::FoldingSetNodeID & | ID, |
| const FunctionDecl * | FD, | ||
| const MemRegion * | |||
| ) | [static] |