clang
9.0.0
|
Represents a symbolic expression like 'x' + 3. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h"
Public Member Functions | |
SymIntExpr (const SymExpr *lhs, BinaryOperator::Opcode op, const llvm::APSInt &rhs, QualType t) | |
void | dumpToStream (raw_ostream &os) const override |
const SymExpr * | getLHS () const |
const llvm::APSInt & | getRHS () const |
unsigned | computeComplexity () const override |
void | Profile (llvm::FoldingSetNodeID &ID) override |
![]() | |
QualType | getType () const override |
BinaryOperator::Opcode | getOpcode () const |
![]() | |
virtual | ~SymExpr ()=default |
Kind | getKind () const |
virtual void | dump () const |
symbol_iterator | symbol_begin () const |
virtual const MemRegion * | getOriginRegion () const |
Find the region from which this symbol originates. More... | |
Static Public Member Functions | |
static void | Profile (llvm::FoldingSetNodeID &ID, const SymExpr *lhs, BinaryOperator::Opcode op, const llvm::APSInt &rhs, QualType t) |
static bool | classof (const SymExpr *SE) |
![]() | |
static bool | classof (const SymExpr *SE) |
![]() | |
static symbol_iterator | symbol_end () |
Additional Inherited Members | |
![]() | |
enum | Kind |
![]() | |
BinarySymExpr (Kind k, BinaryOperator::Opcode op, QualType t) | |
![]() | |
SymExpr (Kind k) | |
![]() | |
static bool | isValidTypeForSymbol (QualType T) |
![]() | |
unsigned | Complexity = 0 |
Represents a symbolic expression like 'x' + 3.
Definition at line 332 of file SymbolManager.h.
|
inline |
Definition at line 337 of file SymbolManager.h.
References clang::ento::SymbolRegionValue::dumpToStream().
Definition at line 369 of file SymbolManager.h.
References clang::ento::SymExpr::getKind().
|
inlineoverridevirtual |
Implements clang::ento::SymExpr.
Definition at line 348 of file SymbolManager.h.
References clang::ento::SymExpr::Complexity, and clang::ento::SymExpr::computeComplexity().
|
overridevirtual |
Reimplemented from clang::ento::SymExpr.
Definition at line 41 of file SymbolManager.cpp.
References clang::BinaryOperator::getOpcodeStr().
|
inline |
Definition at line 345 of file SymbolManager.h.
Referenced by clang::ento::SValExplainer::VisitSymIntExpr().
|
inline |
Definition at line 346 of file SymbolManager.h.
Referenced by clang::ento::SValExplainer::VisitSymIntExpr().
|
inlinestatic |
Definition at line 354 of file SymbolManager.h.
|
inlineoverridevirtual |
Implements clang::ento::SymExpr.
Definition at line 364 of file SymbolManager.h.
References clang::ento::SymbolRegionValue::getType(), and clang::ento::SymbolRegionValue::Profile().