clang
9.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 () |
const_child_range | children () const |
child_range | used_children () |
const_child_range | used_children () const |
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 5168 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 5189 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 5195 of file OpenMPClause.h.
|
inline |
Definition at line 5210 of file OpenMPClause.h.
|
inline |
Definition at line 5212 of file OpenMPClause.h.
Definition at line 5223 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 5202 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Return Priority number.
Definition at line 5205 of file OpenMPClause.h.
Referenced by OMPIsDevicePtrClause::CreateEmpty(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Return Priority number.
Definition at line 5208 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 5199 of file OpenMPClause.h.
|
inline |
Definition at line 5216 of file OpenMPClause.h.
|
inline |
Definition at line 5219 of file OpenMPClause.h.
|
friend |
Definition at line 5169 of file OpenMPClause.h.