clang
3.9.0
|
This represents clause 'is_device_ptr' in the '#pragma omp ...' directives. More...
#include <OpenMPClause.h>
Public Member Functions | |
child_range | children () |
Static Public Member Functions | |
static OMPIsDevicePtrClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr * > VL) |
Creates clause with a list of variables VL. More... | |
static OMPIsDevicePtrClause * | 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 'is_device_ptr' in the '#pragma omp ...' directives.
In this example directive '#pragma omp target' has clause 'is_device_ptr' with the variables 'a' and 'b'.
Definition at line 4295 of file OpenMPClause.h.
|
inline |
Definition at line 4341 of file OpenMPClause.h.
Definition at line 4346 of file OpenMPClause.h.
|
static |
Creates clause with a list of variables VL.
C | AST context. |
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
VL | List of references to the variables. |
Definition at line 753 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnOpenMPIsDevicePtrClause().
|
static |
Creates an empty clause with the place for N variables.
C | AST context. |
N | The number of variables. |
Definition at line 765 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::OMPClauseReader::readClause().
|
friend |
Definition at line 4300 of file OpenMPClause.h.