clang API Documentation

Public Member Functions | Static Public Member Functions
clang::ento::nonloc::ConcreteInt Class Reference

Value representing integer constant. More...

#include <SVals.h>

Inheritance diagram for clang::ento::nonloc::ConcreteInt:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::nonloc::ConcreteInt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConcreteInt (const llvm::APSInt &V)
const llvm::APSInt & getValue () const
SVal evalBinOp (SValBuilder &svalBuilder, BinaryOperator::Opcode Op, const ConcreteInt &R) const
ConcreteInt evalComplement (SValBuilder &svalBuilder) const
ConcreteInt evalMinus (SValBuilder &svalBuilder) const

Static Public Member Functions

static bool classof (const SVal *V)
static bool classof (const NonLoc *V)

Detailed Description

Value representing integer constant.

Definition at line 291 of file SVals.h.


Constructor & Destructor Documentation

clang::ento::nonloc::ConcreteInt::ConcreteInt ( const llvm::APSInt &  V) [inline, explicit]

Definition at line 293 of file SVals.h.


Member Function Documentation

static bool clang::ento::nonloc::ConcreteInt::classof ( const SVal V) [inline, static]
static bool clang::ento::nonloc::ConcreteInt::classof ( const NonLoc V) [inline, static]
SVal clang::ento::nonloc::ConcreteInt::evalBinOp ( SValBuilder svalBuilder,
BinaryOperator::Opcode  Op,
const ConcreteInt R 
) const
nonloc::ConcreteInt nonloc::ConcreteInt::evalComplement ( SValBuilder svalBuilder) const

Definition at line 200 of file SVals.cpp.

References getValue(), and clang::ento::SValBuilder::makeIntVal().

nonloc::ConcreteInt nonloc::ConcreteInt::evalMinus ( SValBuilder svalBuilder) const

Definition at line 205 of file SVals.cpp.

References getValue(), and clang::ento::SValBuilder::makeIntVal().

const llvm::APSInt& clang::ento::nonloc::ConcreteInt::getValue ( ) const [inline]

Definition at line 295 of file SVals.h.

References clang::ento::SVal::Data.


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