clang  3.7.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate > Class Template Reference

Iterates over a filtered subrange of clauses applied to a directive. More...

#include <StmtOpenMP.h>

Collaboration diagram for clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >:
[legend]

Public Types

typedef const OMPClausevalue_type
 

Public Member Functions

 filtered_clause_iterator ()
 
 filtered_clause_iterator (ArrayRef< OMPClause * > Arr, FilterPredicate Pred)
 
value_type operator* () const
 
value_type operator-> () const
 
filtered_clause_iteratoroperator++ ()
 
filtered_clause_iterator operator++ (int)
 
bool operator! ()
 
 operator bool ()
 
bool empty () const
 

Protected Member Functions

void SkipToNextClause ()
 

Protected Attributes

ArrayRef< OMPClause * >
::const_iterator 
Current
 
ArrayRef< OMPClause * >
::const_iterator 
End
 
FilterPredicate Pred
 

Detailed Description

template<class FilterPredicate>
class clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >

Iterates over a filtered subrange of clauses applied to a directive.

This iterator visits only those declarations that meet some run-time criteria.

Definition at line 97 of file StmtOpenMP.h.

Member Typedef Documentation

template<class FilterPredicate>
typedef const OMPClause* clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::value_type

Definition at line 108 of file StmtOpenMP.h.

Constructor & Destructor Documentation

template<class FilterPredicate>
clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::filtered_clause_iterator ( )
inline

Definition at line 109 of file StmtOpenMP.h.

template<class FilterPredicate>
clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::filtered_clause_iterator ( ArrayRef< OMPClause * >  Arr,
FilterPredicate  Pred 
)
inline

Member Function Documentation

template<class FilterPredicate>
bool clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::empty ( ) const
inline
template<class FilterPredicate>
clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::operator bool ( )
inlineexplicit
template<class FilterPredicate>
bool clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::operator! ( )
inline
template<class FilterPredicate>
value_type clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::operator* ( ) const
inline
template<class FilterPredicate>
filtered_clause_iterator& clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::operator++ ( )
inline
template<class FilterPredicate>
filtered_clause_iterator clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::operator++ ( int  )
inline

Definition at line 122 of file StmtOpenMP.h.

template<class FilterPredicate>
value_type clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::operator-> ( ) const
inline
template<class FilterPredicate>
void clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::SkipToNextClause ( )
inlineprotected

Member Data Documentation

template<class FilterPredicate>
ArrayRef<OMPClause *>::const_iterator clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::Current
protected
template<class FilterPredicate>
ArrayRef<OMPClause *>::const_iterator clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::End
protected
template<class FilterPredicate>
FilterPredicate clang::OMPExecutableDirective::filtered_clause_iterator< FilterPredicate >::Pred
protected

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