|
clang 23.0.0git
|
This represents 'novariants' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPNovariantsClause (Expr *Cond, Stmt *HelperCond, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
| Build 'novariants' clause with condition Cond. | |
| OMPNovariantsClause () | |
| Build an empty clause. | |
| Expr * | getCondition () const |
| Returns condition. | |
| child_range | used_children () |
| const_child_range | used_children () const |
Friends | |
| class | OMPClauseReader |
This represents 'novariants' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp dispatch' has simple 'novariants' clause with condition 'a > 5'.
Definition at line 9027 of file OpenMPClause.h.
|
inline |
Build 'novariants' clause with condition Cond.
| Cond | Condition of the clause. |
| HelperCond | Helper condition for the construct. |
| CaptureRegion | Innermost OpenMP region where expressions in this clause must be captured. |
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
Definition at line 9045 of file OpenMPClause.h.
Referenced by used_children().
|
inline |
Build an empty clause.
Definition at line 9055 of file OpenMPClause.h.
|
inline |
Returns condition.
Definition at line 9058 of file OpenMPClause.h.
| OMPClause::child_range OMPNovariantsClause::used_children | ( | ) |
Definition at line 346 of file OpenMPClause.cpp.
References clang::C, clang::children(), and getAddrOfExprAsWritten().
Referenced by used_children().
|
inline |
Definition at line 9061 of file OpenMPClause.h.
References OMPNovariantsClause(), and used_children().
|
friend |
Definition at line 9030 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.