clang
3.9.0
|
SymbolMetadata - Represents path-dependent metadata about a specific region. More...
#include <SymbolManager.h>
Public Member Functions | |
SymbolMetadata (SymbolID sym, const MemRegion *r, const Stmt *s, QualType t, unsigned count, const void *tag) | |
const MemRegion * | getRegion () const |
const Stmt * | getStmt () const |
unsigned | getCount () const |
const void * | getTag () const |
QualType | getType () const override |
void | dumpToStream (raw_ostream &os) const override |
void | Profile (llvm::FoldingSetNodeID &profile) override |
![]() | |
~SymbolData () override | |
SymbolID | getSymbolID () const |
![]() | |
virtual | ~SymExpr () |
Kind | getKind () const |
virtual void | dump () const |
symbol_iterator | symbol_begin () const |
unsigned | computeComplexity () const |
virtual const MemRegion * | getOriginRegion () const |
Find the region from which this symbol originates. More... | |
Static Public Member Functions | |
static void | Profile (llvm::FoldingSetNodeID &profile, const MemRegion *R, const Stmt *S, QualType T, unsigned Count, const void *Tag) |
static bool | classof (const SymExpr *SE) |
![]() | |
static bool | classof (const SymExpr *SE) |
![]() | |
static symbol_iterator | symbol_end () |
Additional Inherited Members | |
![]() | |
enum | Kind |
![]() | |
SymbolData (Kind k, SymbolID sym) | |
![]() | |
SymExpr (Kind k) | |
SymbolMetadata - Represents path-dependent metadata about a specific region.
Metadata symbols remain live as long as they are marked as in use before dead-symbol sweeping AND their associated regions are still alive. Intended for use by checkers.
Definition at line 185 of file SymbolManager.h.
|
inline |
Definition at line 192 of file SymbolManager.h.
Definition at line 221 of file SymbolManager.h.
References clang::ento::SymExpr::getKind().
|
overridevirtual |
Reimplemented from clang::ento::SymExpr.
Definition at line 80 of file SymbolManager.cpp.
References clang::QualType::getAsString(), getRegion(), and clang::ento::SymbolData::getSymbolID().
|
inline |
Definition at line 198 of file SymbolManager.h.
|
inline |
Definition at line 196 of file SymbolManager.h.
Referenced by dumpToStream(), and clang::ento::SValExplainer::VisitSymbolMetadata().
|
inline |
Definition at line 197 of file SymbolManager.h.
|
inline |
Definition at line 199 of file SymbolManager.h.
|
overridevirtual |
Implements clang::ento::SymExpr.
Definition at line 320 of file SymbolManager.cpp.
Referenced by clang::ento::SValExplainer::VisitSymbolMetadata().
|
inlinestatic |
Definition at line 205 of file SymbolManager.h.
Referenced by clang::ento::SymbolManager::getMetadataSymbol(), and Profile().
|
inlineoverridevirtual |
Implements clang::ento::SymExpr.
Definition at line 216 of file SymbolManager.h.
References Profile().