|
LLVM 24.0.0git
|
#include "llvm/ADT/Sequence.h"
Public Member Functions | |
| constexpr bool | operator== (const CheckedInt &O) const |
| constexpr bool | operator!= (const CheckedInt &O) const |
| constexpr CheckedInt | operator+ (intmax_t Offset) const |
| constexpr intmax_t | operator- (CheckedInt Other) const |
| template<typename Integral, std::enable_if_t< std::is_integral< Integral >::value, bool > = 0> | |
| constexpr Integral | to () const |
| template<typename Enum, std::enable_if_t< std::is_enum< Enum >::value, bool > = 0> | |
| constexpr Enum | to () const |
Static Public Member Functions | |
| template<typename Integral, std::enable_if_t< std::is_integral< Integral >::value, bool > = 0> | |
| static constexpr CheckedInt | from (Integral FromValue) |
| template<typename Enum, std::enable_if_t< std::is_enum< Enum >::value, bool > = 0> | |
| static constexpr CheckedInt | from (Enum FromValue) |
Definition at line 129 of file Sequence.h.
|
inlinestaticconstexpr |
Definition at line 144 of file Sequence.h.
References from(), and llvm::to_underlying().
|
inlinestaticconstexpr |
Definition at line 133 of file Sequence.h.
References llvm::detail::canTypeFitValue().
Referenced by from(), and operator+().
|
inlineconstexpr |
Definition at line 152 of file Sequence.h.
|
inlineconstexpr |
Definition at line 156 of file Sequence.h.
References llvm::AddOverflow(), from(), and llvm::Offset.
|
inlineconstexpr |
Definition at line 163 of file Sequence.h.
References llvm::Other, and llvm::SubOverflow().
|
inlineconstexpr |
Definition at line 149 of file Sequence.h.
|
inlineconstexpr |
Definition at line 173 of file Sequence.h.
References llvm::detail::canTypeFitValue().
Referenced by to().
|
inlineconstexpr |
Definition at line 183 of file Sequence.h.
References to().