LLVM 22.0.0git
|
#include "llvm/ADT/Sequence.h"
Public Member Functions | |
bool | operator== (const CheckedInt &O) const |
bool | operator!= (const CheckedInt &O) const |
CheckedInt | operator+ (intmax_t Offset) const |
intmax_t | operator- (CheckedInt Other) const |
template<typename Integral, std::enable_if_t< std::is_integral< Integral >::value, bool > = 0> | |
Integral | to () const |
template<typename Enum, std::enable_if_t< std::is_enum< Enum >::value, bool > = 0> | |
Enum | to () const |
Static Public Member Functions | |
template<typename Integral, std::enable_if_t< std::is_integral< Integral >::value, bool > = 0> | |
static CheckedInt | from (Integral FromValue) |
template<typename Enum, std::enable_if_t< std::is_enum< Enum >::value, bool > = 0> | |
static CheckedInt | from (Enum FromValue) |
Definition at line 126 of file Sequence.h.
|
inlinestatic |
Definition at line 141 of file Sequence.h.
References from().
|
inlinestatic |
Definition at line 130 of file Sequence.h.
References llvm::detail::canTypeFitValue().
Referenced by from().
|
inline |
Definition at line 148 of file Sequence.h.
|
inline |
Definition at line 150 of file Sequence.h.
References llvm::AddOverflow(), and llvm::Offset.
|
inline |
Definition at line 157 of file Sequence.h.
References llvm::Other, and llvm::SubOverflow().
|
inline |
Definition at line 147 of file Sequence.h.
|
inline |
Definition at line 167 of file Sequence.h.
References llvm::detail::canTypeFitValue().
Referenced by to().
|
inline |
Definition at line 177 of file Sequence.h.
References to().