clang  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
clang::ento::SymbolExtent Class Reference

#include <SymbolManager.h>

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

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
 
- Public Member Functions inherited from clang::ento::SymbolData
 ~SymbolData () override
 
SymbolID getSymbolID () const
 
- Public Member Functions inherited from clang::ento::SymExpr
virtual ~SymExpr ()
 
Kind getKind () const
 
virtual void dump () const
 
symbol_iterator symbol_begin () const
 
unsigned computeComplexity () const
 

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &profile, const SubRegion *R)
 
static bool classof (const SymExpr *SE)
 
- Static Public Member Functions inherited from clang::ento::SymbolData
static bool classof (const SymExpr *SE)
 
- Static Public Member Functions inherited from clang::ento::SymExpr
static symbol_iterator symbol_end ()
 

Additional Inherited Members

- Public Types inherited from clang::ento::SymExpr
enum  Kind {
  RegionValueKind, ConjuredKind, DerivedKind, ExtentKind,
  MetadataKind, BEGIN_SYMBOLS = RegionValueKind, END_SYMBOLS = MetadataKind, SymIntKind,
  IntSymKind, SymSymKind, BEGIN_BINARYSYMEXPRS = SymIntKind, END_BINARYSYMEXPRS = SymSymKind,
  CastSymbolKind
}
 
- Protected Member Functions inherited from clang::ento::SymbolData
 SymbolData (Kind k, SymbolID sym)
 
- Protected Member Functions inherited from clang::ento::SymExpr
 SymExpr (Kind k)
 

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)
inlinestatic
void SymbolExtent::dumpToStream ( raw_ostream &  os) const
overridevirtual

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
overridevirtual

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 
)
inlinestatic
void clang::ento::SymbolExtent::Profile ( llvm::FoldingSetNodeID &  profile)
inlineoverridevirtual

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: