clang 20.0.0git
|
Represents a symbolic expression involving a unary operator. More...
#include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h"
Public Member Functions | |
UnarySymExpr (const SymExpr *In, UnaryOperator::Opcode Op, QualType T) | |
unsigned | computeComplexity () const override |
const SymExpr * | getOperand () const |
UnaryOperator::Opcode | getOpcode () const |
QualType | getType () const override |
void | dumpToStream (raw_ostream &os) const override |
void | Profile (llvm::FoldingSetNodeID &ID) 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 void | Profile (llvm::FoldingSetNodeID &ID, const SymExpr *In, UnaryOperator::Opcode Op, QualType T) |
static bool | classof (const SymExpr *SE) |
Additional Inherited Members | |
Public Types inherited from clang::ento::SymExpr | |
enum | Kind |
Protected Member Functions inherited from clang::ento::SymExpr | |
SymExpr (Kind k) | |
Static Protected Member Functions inherited from clang::ento::SymExpr | |
static bool | isValidTypeForSymbol (QualType T) |
Protected Attributes inherited from clang::ento::SymExpr | |
unsigned | Complexity = 0 |
Represents a symbolic expression involving a unary operator.
Definition at line 330 of file SymbolManager.h.
|
inline |
Definition at line 336 of file SymbolManager.h.
References clang::ento::Loc::isLocType(), clang::ento::SymExpr::isValidTypeForSymbol(), and clang::T.
Definition at line 373 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.
|
overridevirtual |
Reimplemented from clang::ento::SymExpr.
Definition at line 73 of file SymbolManager.cpp.
References clang::ento::SymExpr::dumpToStream(), and clang::UnaryOperator::getOpcodeStr().
|
inline |
Definition at line 355 of file SymbolManager.h.
|
inline |
Definition at line 354 of file SymbolManager.h.
|
inlineoverridevirtual |
Implements clang::ento::SymExpr.
Definition at line 356 of file SymbolManager.h.
References clang::T.
|
inlineoverridevirtual |
Implements clang::ento::SymExpr.
Definition at line 368 of file SymbolManager.h.
|
inlinestatic |
Definition at line 360 of file SymbolManager.h.
Referenced by clang::ento::SymbolManager::getUnarySymExpr(), and Profile().