clang: OMPCancellationPointDirective Class Reference (original) (raw)
This represents '#pragma omp cancellation point' directive. More...
#include "[clang/AST/StmtOpenMP.h](StmtOpenMP%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| OpenMPDirectiveKind | getCancelRegion () const |
| Get cancellation region for the current cancellation point. |
| Static Public Member Functions | |
|---|---|
| static OMPCancellationPointDirective * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, OpenMPDirectiveKind CancelRegion) |
| Creates directive. | |
| static OMPCancellationPointDirective * | CreateEmpty (const ASTContext &C, EmptyShell) |
| Creates an empty directive. | |
| static bool | classof (const Stmt *T) |
| Friends | |
|---|---|
| class | ASTStmtReader |
| class | OMPExecutableDirective |
This represents '#pragma omp cancellation point' directive.
#pragma omp cancellation point for
In this example a cancellation point is created for innermost 'for' region.
Definition at line 3644 of file StmtOpenMP.h.
◆ classof()
| bool OMPCancellationPointDirective::classof ( const Stmt * T) | inlinestatic |
|---|
◆ Create()
◆ CreateEmpty()
◆ getCancelRegion()
| OpenMPDirectiveKind OMPCancellationPointDirective::getCancelRegion ( ) const | inline |
|---|
◆ 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