|
clang
3.8.0
|
This represents clause 'map' in the '#pragma omp ...' directives. More...
#include <OpenMPClause.h>
Public Member Functions | |
| OpenMPMapClauseKind | getMapType () const LLVM_READONLY |
| Fetches mapping kind for the clause. More... | |
| OpenMPMapClauseKind | getMapTypeModifier () const LLVM_READONLY |
| Fetches the map type modifier for the clause. More... | |
| SourceLocation | getMapLoc () const LLVM_READONLY |
| Fetches location of clause mapping kind. More... | |
| SourceLocation | getColonLoc () const |
| Get colon location. More... | |
| child_range | children () |
Static Public Member Functions | |
| static OMPMapClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr * > VL, OpenMPMapClauseKind TypeModifier, OpenMPMapClauseKind Type, SourceLocation TypeLoc) |
| Creates clause with a list of variables VL. More... | |
| static OMPMapClause * | CreateEmpty (const ASTContext &C, unsigned N) |
| Creates an empty clause with the place for N variables. More... | |
| static bool | classof (const OMPClause *T) |
Friends | |
| class | OMPClauseReader |
This represents clause 'map' in the '#pragma omp ...' directives.
In this example directive '#pragma omp target' has clause 'map' with the variables 'a' and 'b'.
Definition at line 2734 of file OpenMPClause.h.
|
inline |
Definition at line 2836 of file OpenMPClause.h.
Definition at line 2832 of file OpenMPClause.h.
|
static |
Creates clause with a list of variables VL.
| C | AST context. |
| StartLoc | Starting location of the clause. |
| EndLoc | Ending location of the clause. |
| VL | List of references to the variables. |
| TypeModifier | Map type modifier. |
| Type | Map type. |
| TypeLoc | Location of the map type. |
Definition at line 398 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnOpenMPMapClause().
|
static |
Creates an empty clause with the place for N variables.
| C | AST context. |
| N | The number of variables. |
Definition at line 414 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::OMPClauseReader::readClause().
|
inline |
|
inline |
Fetches location of clause mapping kind.
Definition at line 2827 of file OpenMPClause.h.
|
inline |
Fetches mapping kind for the clause.
Definition at line 2819 of file OpenMPClause.h.
|
inline |
Fetches the map type modifier for the clause.
Definition at line 2822 of file OpenMPClause.h.
|
friend |
Definition at line 2738 of file OpenMPClause.h.
1.8.6