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 (ASTContext &) const
virtual void dumpToStream (raw_ostream &os) const
virtual void Profile (llvm::FoldingSetNodeID &profile)

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 238 of file SymbolManager.h.


Constructor & Destructor Documentation

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

Definition at line 242 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 261 of file SymbolManager.h.

References clang::ento::SymExpr::ExtentKind, and clang::ento::SymExpr::getKind().

virtual void clang::ento::SymbolExtent::dumpToStream ( raw_ostream &  os) const [virtual]

Reimplemented from clang::ento::SymExpr.

const SubRegion* clang::ento::SymbolExtent::getRegion ( ) const [inline]

Definition at line 245 of file SymbolManager.h.

QualType clang::ento::SymbolExtent::getType ( ASTContext ) const [virtual]

Implements clang::ento::SymExpr.

static void clang::ento::SymbolExtent::Profile ( llvm::FoldingSetNodeID &  profile,
const SubRegion R 
) [inline, static]

Definition at line 251 of file SymbolManager.h.

References clang::ento::SymExpr::ExtentKind.

Referenced by Profile().

virtual void clang::ento::SymbolExtent::Profile ( llvm::FoldingSetNodeID &  profile) [inline, virtual]

Implements clang::ento::SymExpr.

Definition at line 256 of file SymbolManager.h.

References Profile().


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