|
template<typename T > |
static ClauseIterator | findClause (ClauseIterator begin, ClauseIterator end) |
| Utility to find a clause within a range in the clause list.
|
|
template<typename T > |
static const T * | findUniqueClause (const List< Clause > &clauses, const parser::CharBlock **source=nullptr) |
|
template<typename T > |
static bool | findRepeatableClause (const List< Clause > &clauses, std::function< void(const T &, const parser::CharBlock &source)> callbackFn) |
|
◆ findRepeatableClause()
template<typename T >
static bool Fortran::lower::omp::ClauseFinder::findRepeatableClause |
( |
const List< Clause > & |
clauses, |
|
|
std::function< void(const T &, const parser::CharBlock &source)> |
callbackFn |
|
) |
| |
|
inlinestatic |
Call callbackFn
for each occurrence of the given clause. Return true
if at least one instance was found.
◆ findUniqueClause()
template<typename T >
static const T * Fortran::lower::omp::ClauseFinder::findUniqueClause |
( |
const List< Clause > & |
clauses, |
|
|
const parser::CharBlock ** |
source = nullptr |
|
) |
| |
|
inlinestatic |
Return the first instance of the given clause found in the clause list or nullptr
if not present. If more than one instance is expected, use findRepeatableClause
instead.
The documentation for this class was generated from the following file: