clang
8.0.0
|
This represents 'priority' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPPriorityClause (Expr *E, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Build 'priority' clause. More... | |
OMPPriorityClause () | |
Build an empty clause. More... | |
void | setLParenLoc (SourceLocation Loc) |
Sets the location of '('. More... | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
Expr * | getPriority () |
Return Priority number. More... | |
Expr * | getPriority () const |
Return Priority number. More... | |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
Friends | |
class | OMPClauseReader |
This represents 'priority' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp teams' has clause 'priority' with single expression 'n'.
Definition at line 4407 of file OpenMPClause.h.
|
inline |
Build 'priority' clause.
E | Expression associated with this clause. |
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
Definition at line 4428 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 4434 of file OpenMPClause.h.
|
inline |
Definition at line 4449 of file OpenMPClause.h.
Definition at line 4451 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 4441 of file OpenMPClause.h.
Referenced by clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Return Priority number.
Definition at line 4444 of file OpenMPClause.h.
Referenced by OMPIsDevicePtrClause::CreateEmpty(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Return Priority number.
Definition at line 4447 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 4438 of file OpenMPClause.h.
|
friend |
Definition at line 4408 of file OpenMPClause.h.