class OMPMappableExprListClause::const_component_lists_iterator

Declaration

class OMPMappableExprListClause::const_component_lists_iterator { /* full declaration omitted */ };

Description

Iterator that browse the components by lists. It also allows browsing components of a single declaration.

Declared at: clang/include/clang/AST/OpenMPClause.h:5454

Member Variables

private ArrayRef<ValueDecl*>::iterator DeclCur
private ArrayRef<unsigned int>::iterator NumListsCur
private const bool SupportsMapper
private ArrayRef<Expr*>::iterator MapperCur
private unsigned int RemainingLists = 0
private unsigned int PrevListSize = 0
private ArrayRef<unsigned int>::const_iterator ListSizeCur
private ArrayRef<unsigned int>::const_iterator ListSizeEnd
private MappableExprComponentListRef::const_iterator End

Method Overview

  • public const_component_lists_iterator(ArrayRef<clang::ValueDecl *> UniqueDecls, ArrayRef<unsigned int> DeclsListNum, ArrayRef<unsigned int> CumulativeListSizes, clang::OMPClauseMappableExprCommon::MappableExprComponentListRef Components, bool SupportsMapper, ArrayRef<clang::Expr *> Mappers)
  • public const_component_lists_iterator(const clang::ValueDecl * Declaration, ArrayRef<clang::ValueDecl *> UniqueDecls, ArrayRef<unsigned int> DeclsListNum, ArrayRef<unsigned int> CumulativeListSizes, clang::OMPClauseMappableExprCommon::MappableExprComponentListRef Components, bool SupportsMapper, ArrayRef<clang::Expr *> Mappers)

Methods

const_component_lists_iterator(
    ArrayRef<clang::ValueDecl*> UniqueDecls,
    ArrayRef<unsigned int> DeclsListNum,
    ArrayRef<unsigned int> CumulativeListSizes,
    clang::OMPClauseMappableExprCommon::
        MappableExprComponentListRef Components,
    bool SupportsMapper,
    ArrayRef<clang::Expr*> Mappers)

Description

Construct an iterator that scans all lists.

Declared at: clang/include/clang/AST/OpenMPClause.h:5489

Parameters

ArrayRef<clang::ValueDecl*> UniqueDecls
ArrayRef<unsigned int> DeclsListNum
ArrayRef<unsigned int> CumulativeListSizes
clang::OMPClauseMappableExprCommon:: MappableExprComponentListRef Components
bool SupportsMapper
ArrayRef<clang::Expr*> Mappers

const_component_lists_iterator(
    const clang::ValueDecl* Declaration,
    ArrayRef<clang::ValueDecl*> UniqueDecls,
    ArrayRef<unsigned int> DeclsListNum,
    ArrayRef<unsigned int> CumulativeListSizes,
    clang::OMPClauseMappableExprCommon::
        MappableExprComponentListRef Components,
    bool SupportsMapper,
    ArrayRef<clang::Expr*> Mappers)

Description

Construct an iterator that scan lists for a given declaration \a Declaration.

Declared at: clang/include/clang/AST/OpenMPClause.h:5510

Parameters

const clang::ValueDecl* Declaration
ArrayRef<clang::ValueDecl*> UniqueDecls
ArrayRef<unsigned int> DeclsListNum
ArrayRef<unsigned int> CumulativeListSizes
clang::OMPClauseMappableExprCommon:: MappableExprComponentListRef Components
bool SupportsMapper
ArrayRef<clang::Expr*> Mappers