clang  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::ento::IntSymExpr Class Reference

Represents a symbolic expression like 3 - 'x'. More...

#include "clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h"

Inheritance diagram for clang::ento::IntSymExpr:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::IntSymExpr:
Collaboration graph
[legend]

Public Member Functions

 IntSymExpr (const llvm::APSInt &lhs, BinaryOperator::Opcode op, const SymExpr *rhs, QualType t)
 
void dumpToStream (raw_ostream &os) const override
 
const SymExprgetRHS () const
 
const llvm::APSInt & getLHS () const
 
void Profile (llvm::FoldingSetNodeID &ID) override
 
- Public Member Functions inherited from clang::ento::BinarySymExpr
QualType getType () const override
 
BinaryOperator::Opcode getOpcode () 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
 
virtual const MemRegiongetOriginRegion () const
 Find the region from which this symbol originates. More...
 

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, const llvm::APSInt &lhs, BinaryOperator::Opcode op, const SymExpr *rhs, QualType t)
 
static bool classof (const SymExpr *SE)
 
- Static Public Member Functions inherited from clang::ento::BinarySymExpr
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
 
- Protected Member Functions inherited from clang::ento::BinarySymExpr
 BinarySymExpr (Kind k, BinaryOperator::Opcode op, QualType t)
 
- 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)
 

Detailed Description

Represents a symbolic expression like 3 - 'x'.

Definition at line 358 of file SymbolManager.h.

Constructor & Destructor Documentation

◆ IntSymExpr()

clang::ento::IntSymExpr::IntSymExpr ( const llvm::APSInt &  lhs,
BinaryOperator::Opcode  op,
const SymExpr rhs,
QualType  t 
)
inline

Definition at line 363 of file SymbolManager.h.

References clang::ento::SymbolRegionValue::dumpToStream().

Member Function Documentation

◆ classof()

static bool clang::ento::IntSymExpr::classof ( const SymExpr SE)
inlinestatic

Definition at line 389 of file SymbolManager.h.

References clang::ento::SymExpr::getKind().

◆ dumpToStream()

void IntSymExpr::dumpToStream ( raw_ostream &  os) const
overridevirtual

◆ getLHS()

const llvm::APSInt& clang::ento::IntSymExpr::getLHS ( ) const
inline

Definition at line 372 of file SymbolManager.h.

◆ getRHS()

const SymExpr* clang::ento::IntSymExpr::getRHS ( ) const
inline

Definition at line 371 of file SymbolManager.h.

◆ Profile() [1/2]

static void clang::ento::IntSymExpr::Profile ( llvm::FoldingSetNodeID &  ID,
const llvm::APSInt &  lhs,
BinaryOperator::Opcode  op,
const SymExpr rhs,
QualType  t 
)
inlinestatic

Definition at line 374 of file SymbolManager.h.

◆ Profile() [2/2]

void clang::ento::IntSymExpr::Profile ( llvm::FoldingSetNodeID &  ID)
inlineoverridevirtual

The documentation for this class was generated from the following files: