clang
10.0.0git
|
This represents 'priority' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPPriorityClause (Expr *Priority, Stmt *HelperPriority, OpenMPDirectiveKind CaptureRegion, 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 5240 of file OpenMPClause.h.
|
inline |
Build 'priority' clause.
Priority | Expression associated with this clause. |
HelperPriority | Helper priority 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 5264 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 5273 of file OpenMPClause.h.
|
inline |
Definition at line 5289 of file OpenMPClause.h.
|
inline |
Definition at line 5291 of file OpenMPClause.h.
References clang::OMPClause::used_children().
Definition at line 5301 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 5281 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Return Priority number.
Definition at line 5284 of file OpenMPClause.h.
References Priority.
Referenced by OMPNontemporalClause::setPrivateRefs(), and clang::ASTRecordWriter::writeOMPClause().
|
inline |
|
inline |
Sets the location of '('.
Definition at line 5278 of file OpenMPClause.h.
OMPClause::child_range OMPPriorityClause::used_children | ( | ) |
Definition at line 262 of file OpenMPClause.cpp.
References clang::C, getAddrOfExprAsWritten(), and Priority.
|
inline |
Definition at line 5296 of file OpenMPClause.h.
References clang::OMPClause::used_children().
|
friend |
Definition at line 5241 of file OpenMPClause.h.