|
clang 22.0.0git
|
This represents 'defaultmap' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPDefaultmapClause (SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation MLoc, SourceLocation KLoc, SourceLocation EndLoc, OpenMPDefaultmapClauseKind Kind, OpenMPDefaultmapClauseModifier M) | |
| Build 'defaultmap' clause with defaultmap kind Kind. | |
| OMPDefaultmapClause () | |
| Build an empty clause. | |
| OpenMPDefaultmapClauseKind | getDefaultmapKind () const |
| Get kind of the clause. | |
| OpenMPDefaultmapClauseModifier | getDefaultmapModifier () const |
| Get the modifier of the clause. | |
| SourceLocation | getLParenLoc () |
| Get location of '('. | |
| SourceLocation | getDefaultmapKindLoc () |
| Get kind location. | |
| SourceLocation | getDefaultmapModifierLoc () const |
| Get the modifier location. | |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| const_child_range | used_children () const |
| 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 |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
| Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
Friends | |
| class | OMPClauseReader |
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> |
| Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'defaultmap' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp target' has 'defaultmap' clause of kind 'scalar' with modifier 'tofrom'.
Definition at line 7652 of file OpenMPClause.h.
|
inline |
Build 'defaultmap' clause with defaultmap kind Kind.
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| KLoc | Starting location of the argument. |
| EndLoc | Ending location of the clause. |
| Kind | Defaultmap kind. |
| M | The modifier applied to 'defaultmap' clause. |
| MLoc | Location of the modifier |
Definition at line 7707 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
|
inlineexplicit |
Build an empty clause.
Definition at line 7716 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
|
inline |
Definition at line 7739 of file OpenMPClause.h.
|
inline |
Definition at line 7743 of file OpenMPClause.h.
Definition at line 7754 of file OpenMPClause.h.
References clang::OMPClause::OMPClause(), and clang::T.
|
inline |
Get kind of the clause.
Definition at line 7721 of file OpenMPClause.h.
|
inline |
Get kind location.
Definition at line 7732 of file OpenMPClause.h.
|
inline |
Get the modifier of the clause.
Definition at line 7724 of file OpenMPClause.h.
|
inline |
Get the modifier location.
Definition at line 7735 of file OpenMPClause.h.
|
inline |
Get location of '('.
Definition at line 7729 of file OpenMPClause.h.
|
inline |
Definition at line 7747 of file OpenMPClause.h.
|
inline |
Definition at line 7750 of file OpenMPClause.h.
|
friend |
Definition at line 7653 of file OpenMPClause.h.
References clang::OMPC_DEFAULTMAP_MODIFIER_unknown, clang::OMPC_DEFAULTMAP_unknown, and OMPClauseReader.
Referenced by OMPClauseReader.