clang
9.0.0
|
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. More... | |
OMPDefaultmapClause () | |
Build an empty clause. More... | |
OpenMPDefaultmapClauseKind | getDefaultmapKind () const |
Get kind of the clause. More... | |
OpenMPDefaultmapClauseModifier | getDefaultmapModifier () const |
Get the modifier of the clause. More... | |
SourceLocation | getLParenLoc () |
Get location of '('. More... | |
SourceLocation | getDefaultmapKindLoc () |
Get kind location. More... | |
SourceLocation | getDefaultmapModifierLoc () const |
Get the modifier location. 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 '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 5578 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 5633 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 5641 of file OpenMPClause.h.
|
inline |
Definition at line 5663 of file OpenMPClause.h.
|
inline |
Definition at line 5667 of file OpenMPClause.h.
Definition at line 5678 of file OpenMPClause.h.
|
inline |
Get kind of the clause.
Definition at line 5645 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get kind location.
Definition at line 5656 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get the modifier of the clause.
Definition at line 5648 of file OpenMPClause.h.
References Modifier.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get the modifier location.
Definition at line 5659 of file OpenMPClause.h.
References ModifierLoc.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get location of '('.
Definition at line 5653 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Definition at line 5671 of file OpenMPClause.h.
|
inline |
Definition at line 5674 of file OpenMPClause.h.
|
friend |
Definition at line 5579 of file OpenMPClause.h.