Go to the documentation of this file.
13#ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_RANGEDCONSTRAINTMANAGER_H
14#define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_RANGEDCONSTRAINTMANAGER_H
19#include "llvm/ADT/APSInt.h"
20#include "llvm/Support/Allocator.h"
35 Range(
const llvm::APSInt &Point) :
Range(Point, Point) {}
37 bool Includes(
const llvm::APSInt &Point)
const {
38 return From() <= Point && Point <=
To();
40 const llvm::APSInt &
From()
const {
return *Impl.first; }
41 const llvm::APSInt &
To()
const {
return *Impl.second; }