clang API Documentation
#include <SymbolManager.h>
Public Member Functions | |
SymbolExtent (SymbolID sym, const SubRegion *r) | |
const SubRegion * | getRegion () const |
QualType | getType () const override |
void | dumpToStream (raw_ostream &os) const override |
void | Profile (llvm::FoldingSetNodeID &profile) override |
Static Public Member Functions | |
static void | Profile (llvm::FoldingSetNodeID &profile, const SubRegion *R) |
static bool | classof (const SymExpr *SE) |
SymbolExtent - Represents the extent (size in bytes) of a bounded region. Clients should not ask the SymbolManager for a region's extent. Always use SubRegion::getExtent instead -- the value returned may not be a symbol.
Definition at line 235 of file SymbolManager.h.
clang::ento::SymbolExtent::SymbolExtent | ( | SymbolID | sym, |
const SubRegion * | r | ||
) | [inline] |
Definition at line 239 of file SymbolManager.h.
static bool clang::ento::SymbolExtent::classof | ( | const SymExpr * | SE | ) | [inline, static] |
Reimplemented from clang::ento::SymbolData.
Definition at line 258 of file SymbolManager.h.
References clang::ento::SymExpr::ExtentKind, and clang::ento::SymExpr::getKind().
void SymbolExtent::dumpToStream | ( | raw_ostream & | os | ) | const [override, virtual] |
Reimplemented from clang::ento::SymExpr.
Definition at line 76 of file SymbolManager.cpp.
References getRegion(), and clang::ento::SymbolData::getSymbolID().
const SubRegion* clang::ento::SymbolExtent::getRegion | ( | ) | const [inline] |
Definition at line 242 of file SymbolManager.h.
Referenced by dumpToStream().
QualType SymbolExtent::getType | ( | ) | const [override, virtual] |
Implements clang::ento::SymExpr.
Definition at line 315 of file SymbolManager.cpp.
References clang::ASTContext::getSizeType().
static void clang::ento::SymbolExtent::Profile | ( | llvm::FoldingSetNodeID & | profile, |
const SubRegion * | R | ||
) | [inline, static] |
Definition at line 248 of file SymbolManager.h.
References clang::ento::SymExpr::ExtentKind.
Referenced by Profile().
void clang::ento::SymbolExtent::Profile | ( | llvm::FoldingSetNodeID & | profile | ) | [inline, override, virtual] |
Implements clang::ento::SymExpr.
Definition at line 253 of file SymbolManager.h.
References Profile().