clang 20.0.0git
|
A symbol representing data which can be stored in a memory location (region). More...
#include "clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h"
Public Member Functions | |
~SymbolData () override=default | |
virtual StringRef | getKindStr () const =0 |
Get a string representation of the kind of the region. | |
SymbolID | getSymbolID () const |
unsigned | computeComplexity () const override |
Public Member Functions inherited from clang::ento::SymExpr | |
virtual | ~SymExpr ()=default |
Kind | getKind () const |
virtual void | dump () const |
virtual void | dumpToStream (raw_ostream &os) const |
virtual QualType | getType () const =0 |
virtual void | Profile (llvm::FoldingSetNodeID &profile)=0 |
llvm::iterator_range< symbol_iterator > | symbols () const |
virtual unsigned | computeComplexity () const =0 |
virtual const MemRegion * | getOriginRegion () const |
Find the region from which this symbol originates. | |
Static Public Member Functions | |
static bool | classof (const SymExpr *SE) |
Protected Member Functions | |
SymbolData (Kind k, SymbolID sym) | |
Protected Member Functions inherited from clang::ento::SymExpr | |
SymExpr (Kind k) | |
Additional Inherited Members | |
Public Types inherited from clang::ento::SymExpr | |
enum | Kind |
Static Protected Member Functions inherited from clang::ento::SymExpr | |
static bool | isValidTypeForSymbol (QualType T) |
Protected Attributes inherited from clang::ento::SymExpr | |
unsigned | Complexity = 0 |
A symbol representing data which can be stored in a memory location (region).
|
overridedefault |
Definition at line 142 of file SymExpr.h.
References clang::ento::SymExpr::getKind().
Referenced by SymbolData().
|
inlineoverridevirtual |
Implements clang::ento::SymExpr.
|
pure virtual |
Get a string representation of the kind of the region.
Implemented in clang::ento::SymbolRegionValue, clang::ento::SymbolConjured, clang::ento::SymbolDerived, clang::ento::SymbolExtent, and clang::ento::SymbolMetadata.
Referenced by clang::ento::SMTConv::fromData().
|
inline |
Definition at line 135 of file SymExpr.h.
Referenced by clang::ento::SymbolRegionValue::dumpToStream(), clang::ento::SymbolConjured::dumpToStream(), clang::ento::SymbolDerived::dumpToStream(), clang::ento::SymbolExtent::dumpToStream(), clang::ento::SymbolMetadata::dumpToStream(), and clang::ento::SMTConv::fromData().