|
clang
5.0.0
|
This represents 'num_tasks' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPNumTasksClause (Expr *Size, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
| Build 'num_tasks' clause. More... | |
| OMPNumTasksClause () | |
| Build an empty clause. More... | |
| void | setLParenLoc (SourceLocation Loc) |
| Sets the location of '('. More... | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. More... | |
| Expr * | getNumTasks () const |
| Return safe iteration space distance. More... | |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
Friends | |
| class | OMPClauseReader |
This represents 'num_tasks' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp taskloop' has clause 'num_tasks' with single expression '4'.
Definition at line 3957 of file OpenMPClause.h.
|
inline |
Build 'num_tasks' clause.
| Size | Expression associated with this clause. |
| StartLoc | Starting location of the clause. |
| EndLoc | Ending location of the clause. |
Definition at line 3974 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 3981 of file OpenMPClause.h.
|
inline |
Definition at line 3997 of file OpenMPClause.h.
Definition at line 3993 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 3988 of file OpenMPClause.h.
|
inline |
Return safe iteration space distance.
Definition at line 3991 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 3986 of file OpenMPClause.h.
|
friend |
Definition at line 3958 of file OpenMPClause.h.
1.8.6