LLVM 24.0.0git
llvm::omp::detail::EnumSetIterator< Enum, Size > Struct Template Reference

#include "llvm/Frontend/OpenMP/OMP.h"

Public Types

using value_type = Enum

Public Member Functions

constexpr EnumSetIterator (const EnumSet< Enum, Size > &Set, size_t At)
constexpr Enum operator* () const
constexpr auto & operator++ ()
constexpr bool operator== (const EnumSetIterator< Enum, Size > &Other) const
constexpr bool operator!= (const EnumSetIterator< Enum, Size > &Other) const

Static Public Attributes

static constexpr size_t enum_size = Size

Detailed Description

template<typename Enum, size_t Size>
struct llvm::omp::detail::EnumSetIterator< Enum, Size >

Definition at line 50 of file OMP.h.

Member Typedef Documentation

◆ value_type

template<typename Enum, size_t Size>
using llvm::omp::detail::EnumSetIterator< Enum, Size >::value_type = Enum

Definition at line 51 of file OMP.h.

Constructor & Destructor Documentation

◆ EnumSetIterator()

template<typename Enum, size_t Size>
llvm::omp::detail::EnumSetIterator< Enum, Size >::EnumSetIterator ( const EnumSet< Enum, Size > & Set,
size_t At )
inlineconstexpr

Definition at line 54 of file OMP.h.

Referenced by operator!=(), and operator==().

Member Function Documentation

◆ operator!=()

template<typename Enum, size_t Size>
bool llvm::omp::detail::EnumSetIterator< Enum, Size >::operator!= ( const EnumSetIterator< Enum, Size > & Other) const
inlineconstexpr

Definition at line 63 of file OMP.h.

References EnumSetIterator(), operator==(), and llvm::Other.

◆ operator*()

template<typename Enum, size_t Size>
Enum llvm::omp::detail::EnumSetIterator< Enum, Size >::operator* ( ) const
constexpr

Definition at line 137 of file OMP.h.

References assert(), and test.

◆ operator++()

template<typename Enum, size_t Size>
auto & llvm::omp::detail::EnumSetIterator< Enum, Size >::operator++ ( )
constexpr

Definition at line 144 of file OMP.h.

References llvm::omp::detail::findFirstSet(), and Size.

◆ operator==()

template<typename Enum, size_t Size>
bool llvm::omp::detail::EnumSetIterator< Enum, Size >::operator== ( const EnumSetIterator< Enum, Size > & Other) const
inlineconstexpr

Definition at line 60 of file OMP.h.

References EnumSetIterator(), and llvm::Other.

Referenced by operator!=().

Member Data Documentation

◆ enum_size

template<typename Enum, size_t Size>
size_t llvm::omp::detail::EnumSetIterator< Enum, Size >::enum_size = Size
staticconstexpr

Definition at line 52 of file OMP.h.


The documentation for this struct was generated from the following file: