|
clang 23.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. | |
| OMPPriorityClause () | |
| Build an empty clause. | |
| void | setLParenLoc (SourceLocation Loc) |
| Sets the location of '('. | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. | |
| Expr * | getPriority () |
| Return Priority number. | |
| Expr * | getPriority () const |
| Return Priority number. | |
| 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 7056 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 7080 of file OpenMPClause.h.
Referenced by used_children().
|
inline |
Build an empty clause.
Definition at line 7089 of file OpenMPClause.h.
|
inline |
Definition at line 7105 of file OpenMPClause.h.
|
inline |
Definition at line 7107 of file OpenMPClause.h.
Definition at line 7116 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 7097 of file OpenMPClause.h.
|
inline |
Return Priority number.
Definition at line 7100 of file OpenMPClause.h.
|
inline |
Return Priority number.
Definition at line 7103 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 7094 of file OpenMPClause.h.
| OMPClause::child_range OMPPriorityClause::used_children | ( | ) |
Definition at line 340 of file OpenMPClause.cpp.
References clang::C, and getAddrOfExprAsWritten().
Referenced by used_children().
|
inline |
Definition at line 7112 of file OpenMPClause.h.
References OMPPriorityClause(), and used_children().
|
friend |
Definition at line 7057 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.