clang API Documentation
Represents a symbolic expression like 3 - 'x'. More...
#include <SymbolManager.h>
Public Member Functions | |
IntSymExpr (const llvm::APSInt &lhs, BinaryOperator::Opcode op, const SymExpr *rhs, QualType t) | |
void | dumpToStream (raw_ostream &os) const override |
const SymExpr * | getRHS () const |
const llvm::APSInt & | getLHS () const |
void | Profile (llvm::FoldingSetNodeID &ID) override |
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) |
Represents a symbolic expression like 3 - 'x'.
Definition at line 403 of file SymbolManager.h.
clang::ento::IntSymExpr::IntSymExpr | ( | const llvm::APSInt & | lhs, |
BinaryOperator::Opcode | op, | ||
const SymExpr * | rhs, | ||
QualType | t | ||
) | [inline] |
Definition at line 408 of file SymbolManager.h.
static bool clang::ento::IntSymExpr::classof | ( | const SymExpr * | SE | ) | [inline, static] |
Reimplemented from clang::ento::BinarySymExpr.
Definition at line 432 of file SymbolManager.h.
References clang::ento::SymExpr::getKind(), and clang::ento::SymExpr::IntSymKind.
void IntSymExpr::dumpToStream | ( | raw_ostream & | os | ) | const [override, virtual] |
Reimplemented from clang::ento::SymExpr.
Definition at line 40 of file SymbolManager.cpp.
References clang::ento::SymExpr::dumpToStream(), getLHS(), clang::ento::BinarySymExpr::getOpcode(), clang::BinaryOperator::getOpcodeStr(), and getRHS().
const llvm::APSInt& clang::ento::IntSymExpr::getLHS | ( | ) | const [inline] |
Definition at line 415 of file SymbolManager.h.
Referenced by dumpToStream().
const SymExpr* clang::ento::IntSymExpr::getRHS | ( | ) | const [inline] |
Definition at line 414 of file SymbolManager.h.
Referenced by dumpToStream().
static void clang::ento::IntSymExpr::Profile | ( | llvm::FoldingSetNodeID & | ID, |
const llvm::APSInt & | lhs, | ||
BinaryOperator::Opcode | op, | ||
const SymExpr * | rhs, | ||
QualType | t | ||
) | [inline, static] |
Definition at line 417 of file SymbolManager.h.
References clang::ento::SymExpr::IntSymKind.
Referenced by Profile().
void clang::ento::IntSymExpr::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | [inline, override, virtual] |
Implements clang::ento::SymExpr.
Definition at line 427 of file SymbolManager.h.
References clang::ento::BinarySymExpr::getOpcode(), clang::ento::BinarySymExpr::getType(), and Profile().