|
clang 22.0.0git
|
Class that represents a list of directive kinds (parallel, target, etc.) as used in absent, contains clauses.
More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPDirectiveListClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, unsigned NumKinds) | |
| Build a clause with NumKinds directive kinds. | |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| const_child_range | used_children () const |
| MutableArrayRef< OpenMPDirectiveKind > | getDirectiveKinds () |
| void | setDirectiveKinds (ArrayRef< OpenMPDirectiveKind > DK) |
| SourceLocation | getLParenLoc () |
| void | setLParenLoc (SourceLocation S) |
| Public Member Functions inherited from clang::OMPClause | |
| SourceLocation | getBeginLoc () const |
| Returns the starting location of the clause. | |
| SourceLocation | getEndLoc () const |
| Returns the ending location of the clause. | |
| void | setLocStart (SourceLocation Loc) |
| Sets the starting location of the clause. | |
| void | setLocEnd (SourceLocation Loc) |
| Sets the ending location of the clause. | |
| OpenMPClauseKind | getClauseKind () const |
| Returns kind of OpenMP clause (private, shared, reduction, etc.). | |
| 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. | |
| const_child_range | used_children () const |
Protected Attributes | |
| unsigned | NumKinds |
| Number of directive kinds listed in the clause. | |
Additional Inherited Members | |
| Public Types inherited from clang::OMPClause | |
| 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> |
| Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
| Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
Class that represents a list of directive kinds (parallel, target, etc.) as used in absent, contains clauses.
Definition at line 345 of file OpenMPClause.h.
|
inline |
Build a clause with NumKinds directive kinds.
| K | The clause kind. |
| StartLoc | Starting location of the clause (the clause keyword). |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
| NumKinds | Number of directive kinds listed in the clause. |
Definition at line 361 of file OpenMPClause.h.
References NumKinds, and clang::OMPClause::OMPClause().
|
inline |
Definition at line 367 of file OpenMPClause.h.
|
inline |
Definition at line 371 of file OpenMPClause.h.
|
inline |
Definition at line 382 of file OpenMPClause.h.
References NumKinds, and clang::T.
Referenced by setDirectiveKinds().
|
inline |
Definition at line 394 of file OpenMPClause.h.
|
inline |
Definition at line 387 of file OpenMPClause.h.
References getDirectiveKinds(), and NumKinds.
|
inline |
Definition at line 396 of file OpenMPClause.h.
|
inline |
Definition at line 375 of file OpenMPClause.h.
|
inline |
Definition at line 378 of file OpenMPClause.h.
|
protected |
Number of directive kinds listed in the clause.
Definition at line 351 of file OpenMPClause.h.
Referenced by getDirectiveKinds(), OMPDirectiveListClause(), and setDirectiveKinds().