clang
7.0.0
|
This represents 'thread_limit' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPThreadLimitClause (Expr *E, Stmt *HelperE, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Build 'thread_limit' clause. More... | |
OMPThreadLimitClause () | |
Build an empty clause. More... | |
void | setLParenLoc (SourceLocation Loc) |
Sets the location of '('. More... | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
Expr * | getThreadLimit () |
Return ThreadLimit number. More... | |
Expr * | getThreadLimit () const |
Return ThreadLimit number. More... | |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
Friends | |
class | OMPClauseReader |
This represents 'thread_limit' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp teams' has clause 'thread_limit' with single expression 'n'.
Definition at line 4077 of file OpenMPClause.h.
|
inline |
Build 'thread_limit' clause.
E | Expression associated with this clause. |
HelperE | Helper Expression associated with this clause. |
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 4101 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 4111 of file OpenMPClause.h.
|
inline |
Definition at line 4127 of file OpenMPClause.h.
Definition at line 4129 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 4119 of file OpenMPClause.h.
|
inline |
Return ThreadLimit number.
Definition at line 4122 of file OpenMPClause.h.
|
inline |
Return ThreadLimit number.
Definition at line 4125 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 4116 of file OpenMPClause.h.
|
friend |
Definition at line 4078 of file OpenMPClause.h.