clang
13.0.0git
|
This represents 'order' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPOrderClause (OpenMPOrderClauseKind A, SourceLocation ALoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Build 'order' clause with argument A ('concurrent'). More... | |
OMPOrderClause () | |
Build an empty clause. More... | |
void | setLParenLoc (SourceLocation Loc) |
Sets the location of '('. More... | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
OpenMPOrderClauseKind | getKind () const |
Returns kind of the clause. More... | |
SourceLocation | getKindKwLoc () const |
Returns location of clause kind. More... | |
child_range | children () |
const_child_range | children () const |
child_range | used_children () |
const_child_range | used_children () const |
![]() | |
SourceLocation | getBeginLoc () const |
Returns the starting location of the clause. More... | |
SourceLocation | getEndLoc () const |
Returns the ending location of the clause. More... | |
void | setLocStart (SourceLocation Loc) |
Sets the starting location of the clause. More... | |
void | setLocEnd (SourceLocation Loc) |
Sets the ending location of the clause. More... | |
OpenMPClauseKind | getClauseKind () const |
Returns kind of OpenMP clause (private, shared, reduction, etc.). More... | |
bool | isImplicit () const |
child_range | children () |
const_child_range | children () const |
child_range | used_children () |
Get the iterator range for the expressions used in the clauses. More... | |
const_child_range | used_children () const |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
![]() | |
static bool | classof (const OMPClause *) |
Friends | |
class | OMPClauseReader |
Additional Inherited Members | |
![]() | |
using | child_iterator = StmtIterator |
using | const_child_iterator = ConstStmtIterator |
using | child_range = llvm::iterator_range< child_iterator > |
using | const_child_range = llvm::iterator_range< const_child_iterator > |
![]() | |
OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'order' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp parallel' has simple 'order' clause with kind 'concurrent'.
Definition at line 7297 of file OpenMPClause.h.
|
inline |
Build 'order' clause with argument A
('concurrent').
A | Argument of the clause ('concurrent'). |
ALoc | Starting location of the argument. |
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
Definition at line 7327 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 7334 of file OpenMPClause.h.
|
inline |
Definition at line 7349 of file OpenMPClause.h.
|
inline |
Definition at line 7353 of file OpenMPClause.h.
Definition at line 7364 of file OpenMPClause.h.
References clang::OMPClause::getClauseKind().
|
inline |
Returns kind of the clause.
Definition at line 7344 of file OpenMPClause.h.
|
inline |
Returns location of clause kind.
Definition at line 7347 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 7341 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 7338 of file OpenMPClause.h.
|
inline |
Definition at line 7357 of file OpenMPClause.h.
|
inline |
Definition at line 7360 of file OpenMPClause.h.
|
friend |
Definition at line 7298 of file OpenMPClause.h.