clang 22.0.0git
|
This represents '#pragma omp interop' directive. More...
#include "clang/AST/StmtOpenMP.h"
Static Public Member Functions | |
static OMPInteropDirective * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef< OMPClause * > Clauses) |
Creates directive. | |
static OMPInteropDirective * | CreateEmpty (const ASTContext &C, unsigned NumClauses, EmptyShell) |
Creates an empty directive. | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
class | OMPExecutableDirective |
This represents '#pragma omp interop' directive.
In this example directive '#pragma omp interop' has clauses 'init', 'device', 'depend' and 'nowait'.
Definition at line 5982 of file StmtOpenMP.h.
|
inlinestatic |
Definition at line 6022 of file StmtOpenMP.h.
|
static |
Creates directive.
C | AST context. |
StartLoc | Starting location of the directive. |
EndLoc | Ending Location of the directive. |
Clauses | The directive's clauses. |
Definition at line 2360 of file StmtOpenMP.cpp.
References clang::C.
Referenced by clang::SemaOpenMP::ActOnOpenMPInteropDirective().
|
static |
Creates an empty directive.
C | AST context. |
Definition at line 2368 of file StmtOpenMP.cpp.
References clang::C.
|
friend |
Definition at line 5983 of file StmtOpenMP.h.
References ASTStmtReader.
Referenced by ASTStmtReader.
|
friend |
Definition at line 5984 of file StmtOpenMP.h.
References OMPExecutableDirective.
Referenced by OMPExecutableDirective.