clang: OMPInteropDirective Class Reference (original) (raw)
This represents '#pragma omp interop' directive. More...
#include "[clang/AST/StmtOpenMP.h](StmtOpenMP%5F8h%5Fsource.html)"
Inheritance diagram for OMPInteropDirective:
| 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 |
Detailed Description
This represents '#pragma omp interop' directive.
#pragma omp interop init(target:obj) device(x) depend(inout:y) nowait
In this example directive '#pragma omp interop' has clauses 'init', 'device', 'depend' and 'nowait'.
Definition at line 6128 of file StmtOpenMP.h.
Member Function Documentation
◆ classof()
| bool OMPInteropDirective::classof ( const Stmt * T) | inlinestatic |
|---|
◆ Create()
◆ CreateEmpty()
◆ ASTStmtReader
| friend class ASTStmtReader | friend |
|---|
◆ OMPExecutableDirective
The documentation for this class was generated from the following files:
- include/clang/AST/StmtOpenMP.h
- lib/AST/StmtOpenMP.cpp