clang
10.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. 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 5668 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 5723 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 5731 of file OpenMPClause.h.
|
inline |
Definition at line 5753 of file OpenMPClause.h.
|
inline |
Definition at line 5757 of file OpenMPClause.h.
Definition at line 5768 of file OpenMPClause.h.
|
inline |
Get kind of the clause.
Definition at line 5735 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Get kind location.
Definition at line 5746 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Get the modifier of the clause.
Definition at line 5738 of file OpenMPClause.h.
References Modifier.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Get the modifier location.
Definition at line 5749 of file OpenMPClause.h.
References ModifierLoc.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Get location of '('.
Definition at line 5743 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Definition at line 5761 of file OpenMPClause.h.
|
inline |
Definition at line 5764 of file OpenMPClause.h.
|
friend |
Definition at line 5669 of file OpenMPClause.h.