clang API Documentation

Public Member Functions | Static Public Member Functions
clang::ento::SymbolExtent Class Reference

#include <SymbolManager.h>

Inheritance diagram for clang::ento::SymbolExtent:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::SymbolExtent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SymbolExtent (SymbolID sym, const SubRegion *r)
const SubRegiongetRegion () 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)

Detailed Description

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.


Constructor & Destructor Documentation

clang::ento::SymbolExtent::SymbolExtent ( SymbolID  sym,
const SubRegion r 
) [inline]

Definition at line 239 of file SymbolManager.h.


Member Function Documentation

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().

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().


The documentation for this class was generated from the following files: