class Range

Declaration

class Range { /* full declaration omitted */ };

Description

A Range represents the closed range [from, to]. The caller must guarantee that from < = to. Note that Range is immutable, so as not to subvert RangeSet's immutability.

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:29

Member Variables

private std::pair<const llvm::APSInt*, const llvm::APSInt*> Impl

Method Overview

  • public const llvm::APSInt & From() const
  • public bool Includes(const llvm::APSInt & Point) const
  • public void Profile(llvm::FoldingSetNodeID & ID) const
  • public Range(const llvm::APSInt & From, const llvm::APSInt & To)
  • public Range(const llvm::APSInt & Point)
  • public const llvm::APSInt & To() const
  • public void dump(llvm::raw_ostream & OS) const
  • public void dump() const
  • public const llvm::APSInt * getConcreteValue() const

Methods

const llvm::APSInt& From() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:40

bool Includes(const llvm::APSInt& Point) const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:37

Parameters

const llvm::APSInt& Point

void Profile(llvm::FoldingSetNodeID& ID) const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:46

Parameters

llvm::FoldingSetNodeID& ID

Range(const llvm::APSInt& From,
      const llvm::APSInt& To)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:31

Parameters

const llvm::APSInt& From
const llvm::APSInt& To

Range(const llvm::APSInt& Point)

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:35

Parameters

const llvm::APSInt& Point

const llvm::APSInt& To() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:41

void dump(llvm::raw_ostream& OS) const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:50

Parameters

llvm::raw_ostream& OS

void dump() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:51

const llvm::APSInt* getConcreteValue() const

Declared at: clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h:42