clang API Documentation
FunctionTextRegion - A region that represents code texts of function. More...
#include <MemRegion.h>
Public Member Functions | |
FunctionTextRegion (const NamedDecl *fd, const MemRegion *sreg) | |
QualType | getLocationType () const override |
const NamedDecl * | getDecl () const |
void | dumpToStream (raw_ostream &os) const override |
void | Profile (llvm::FoldingSetNodeID &ID) const override |
Static Public Member Functions | |
static void | ProfileRegion (llvm::FoldingSetNodeID &ID, const NamedDecl *FD, const MemRegion *) |
static bool | classof (const MemRegion *R) |
FunctionTextRegion - A region that represents code texts of function.
Definition at line 545 of file MemRegion.h.
clang::ento::FunctionTextRegion::FunctionTextRegion | ( | const NamedDecl * | fd, |
const MemRegion * | sreg | ||
) | [inline] |
Definition at line 548 of file MemRegion.h.
static bool clang::ento::FunctionTextRegion::classof | ( | const MemRegion * | R | ) | [inline, static] |
Reimplemented from clang::ento::CodeTextRegion.
Definition at line 578 of file MemRegion.h.
References clang::ento::MemRegion::FunctionTextRegionKind, and clang::ento::MemRegion::getKind().
void FunctionTextRegion::dumpToStream | ( | raw_ostream & | os | ) | const [override, virtual] |
Reimplemented from clang::ento::MemRegion.
Definition at line 460 of file MemRegion.cpp.
References clang::DeclarationName::getAsString(), getDecl(), and clang::NamedDecl::getDeclName().
const NamedDecl* clang::ento::FunctionTextRegion::getDecl | ( | ) | const [inline] |
Definition at line 567 of file MemRegion.h.
Referenced by dumpToStream().
QualType clang::ento::FunctionTextRegion::getLocationType | ( | ) | const [inline, override, virtual] |
Implements clang::ento::TypedRegion.
Definition at line 553 of file MemRegion.h.
References clang::ento::MemRegion::getContext(), and clang::ASTContext::getPointerType().
void FunctionTextRegion::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [override, virtual] |
Implements clang::ento::MemRegion.
Definition at line 367 of file MemRegion.cpp.
References ProfileRegion().
void FunctionTextRegion::ProfileRegion | ( | llvm::FoldingSetNodeID & | ID, |
const NamedDecl * | FD, | ||
const MemRegion * | |||
) | [static] |
Definition at line 360 of file MemRegion.cpp.
References clang::ento::MemRegion::FunctionTextRegionKind.
Referenced by Profile().