clang 22.0.0git
|
This represents '#pragma omp target enter data' directive. More...
#include "clang/AST/StmtOpenMP.h"
Static Public Member Functions | |
static OMPTargetEnterDataDirective * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef< OMPClause * > Clauses, Stmt *AssociatedStmt) |
Creates directive with a list of Clauses. | |
static OMPTargetEnterDataDirective * | CreateEmpty (const ASTContext &C, unsigned N, EmptyShell) |
Creates an empty directive with the place for N clauses. | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
class | OMPExecutableDirective |
This represents '#pragma omp target enter data' directive.
In this example directive '#pragma omp target enter data' has clauses 'device' with the value '0', 'if' with condition 'a' and 'map' with array section 'b[:]'.
Definition at line 3260 of file StmtOpenMP.h.
|
inlinestatic |
Definition at line 3301 of file StmtOpenMP.h.
|
static |
Creates directive with a list of Clauses.
C | AST context. |
StartLoc | Starting location of the directive kind. |
EndLoc | Ending Location of the directive. |
Clauses | List of clauses. |
AssociatedStmt | Statement, associated with the directive. |
Definition at line 1114 of file StmtOpenMP.cpp.
References clang::C.
Referenced by clang::SemaOpenMP::ActOnOpenMPTargetEnterDataDirective().
|
static |
Creates an empty directive with the place for N clauses.
C | AST context. |
N | The number of clauses. |
Definition at line 1122 of file StmtOpenMP.cpp.
References clang::C.
|
friend |
Definition at line 3261 of file StmtOpenMP.h.
References ASTStmtReader.
Referenced by ASTStmtReader.
|
friend |
Definition at line 3262 of file StmtOpenMP.h.
References OMPExecutableDirective.
Referenced by OMPExecutableDirective.