clang 20.0.0git
|
Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
const Expr * | getPostUpdateExpr () const |
Get post-update expression for the clause. | |
Expr * | getPostUpdateExpr () |
Get post-update expression for the clause. | |
Public Member Functions inherited from clang::OMPClauseWithPreInit | |
const Stmt * | getPreInitStmt () const |
Get pre-initialization statement for the clause. | |
Stmt * | getPreInitStmt () |
Get pre-initialization statement for the clause. | |
OpenMPDirectiveKind | getCaptureRegion () const |
Get capture region for the stmt in the clause. | |
Static Public Member Functions | |
static OMPClauseWithPostUpdate * | get (OMPClause *C) |
static const OMPClauseWithPostUpdate * | get (const OMPClause *C) |
Static Public Member Functions inherited from clang::OMPClauseWithPreInit | |
static OMPClauseWithPreInit * | get (OMPClause *C) |
static const OMPClauseWithPreInit * | get (const OMPClause *C) |
Protected Member Functions | |
OMPClauseWithPostUpdate (const OMPClause *This) | |
void | setPostUpdateExpr (Expr *S) |
Set pre-initialization statement for the clause. | |
Protected Member Functions inherited from clang::OMPClauseWithPreInit | |
OMPClauseWithPreInit (const OMPClause *This) | |
void | setPreInitStmt (Stmt *S, OpenMPDirectiveKind ThisRegion=llvm::omp::OMPD_unknown) |
Set pre-initialization statement for the clause. | |
Friends | |
class | OMPClauseReader |
Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc.
Definition at line 233 of file OpenMPClause.h.
|
inlineprotected |
Definition at line 240 of file OpenMPClause.h.
References get().
|
static |
Definition at line 187 of file OpenMPClause.cpp.
References clang::C.
|
static |
Definition at line 182 of file OpenMPClause.cpp.
References clang::C, and get().
Referenced by clang::SemaOpenMP::ActOnOpenMPRegionEnd(), get(), and OMPClauseWithPostUpdate().
|
inline |
Get post-update expression for the clause.
Definition at line 252 of file OpenMPClause.h.
|
inline |
Get post-update expression for the clause.
Definition at line 249 of file OpenMPClause.h.
|
inlineprotected |
Set pre-initialization statement for the clause.
Definition at line 245 of file OpenMPClause.h.
Referenced by clang::OMPLinearClause::Create(), clang::OMPInReductionClause::Create(), clang::OMPTaskReductionClause::Create(), and clang::OMPLastprivateClause::Create().
|
friend |
Definition at line 234 of file OpenMPClause.h.