clang 22.0.0git
|
This represents '#pragma omp cancellation point' directive. More...
#include "clang/AST/StmtOpenMP.h"
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.
In this example a cancellation point is created for innermost 'for' region.
Definition at line 3597 of file StmtOpenMP.h.
|
inlinestatic |
Definition at line 3643 of file StmtOpenMP.h.
|
static |
Creates directive.
C | AST context. |
StartLoc | Starting location of the directive kind. |
EndLoc | Ending Location of the directive. |
Definition at line 900 of file StmtOpenMP.cpp.
References clang::C.
Referenced by clang::SemaOpenMP::ActOnOpenMPCancellationPointDirective().
|
static |
Creates an empty directive.
C | AST context. |
Definition at line 909 of file StmtOpenMP.cpp.
References clang::C.
|
inline |
Get cancellation region for the current cancellation point.
Definition at line 3641 of file StmtOpenMP.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitOMPCancellationPointDirective().
|
friend |
Definition at line 3598 of file StmtOpenMP.h.
References ASTStmtReader.
Referenced by ASTStmtReader.
|
friend |
Definition at line 3599 of file StmtOpenMP.h.
References OMPExecutableDirective.
Referenced by OMPExecutableDirective.