clang API Documentation
Represents a symbolic expression like 'x' + 3. More...
#include <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 |
void | Profile (llvm::FoldingSetNodeID &ID) override |
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) |
Represents a symbolic expression like 'x' + 3.
Definition at line 368 of file SymbolManager.h.
clang::ento::SymIntExpr::SymIntExpr | ( | const SymExpr * | lhs, |
BinaryOperator::Opcode | op, | ||
const llvm::APSInt & | rhs, | ||
QualType | t | ||
) | [inline] |
Definition at line 373 of file SymbolManager.h.
static bool clang::ento::SymIntExpr::classof | ( | const SymExpr * | SE | ) | [inline, static] |
Reimplemented from clang::ento::BinarySymExpr.
Definition at line 397 of file SymbolManager.h.
References clang::ento::SymExpr::getKind(), and clang::ento::SymExpr::SymIntKind.
void SymIntExpr::dumpToStream | ( | raw_ostream & | os | ) | const [override, virtual] |
Reimplemented from clang::ento::SymExpr.
Definition at line 30 of file SymbolManager.cpp.
References clang::ento::SymExpr::dumpToStream(), getLHS(), clang::ento::BinarySymExpr::getOpcode(), clang::BinaryOperator::getOpcodeStr(), and getRHS().
const SymExpr* clang::ento::SymIntExpr::getLHS | ( | ) | const [inline] |
Definition at line 379 of file SymbolManager.h.
Referenced by dumpToStream().
const llvm::APSInt& clang::ento::SymIntExpr::getRHS | ( | ) | const [inline] |
Definition at line 380 of file SymbolManager.h.
Referenced by dumpToStream().
static void clang::ento::SymIntExpr::Profile | ( | llvm::FoldingSetNodeID & | ID, |
const SymExpr * | lhs, | ||
BinaryOperator::Opcode | op, | ||
const llvm::APSInt & | rhs, | ||
QualType | t | ||
) | [inline, static] |
Definition at line 382 of file SymbolManager.h.
References clang::ento::SymExpr::SymIntKind.
Referenced by Profile().
void clang::ento::SymIntExpr::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | [inline, override, virtual] |
Implements clang::ento::SymExpr.
Definition at line 392 of file SymbolManager.h.
References clang::ento::BinarySymExpr::getOpcode(), clang::ento::BinarySymExpr::getType(), and Profile().