|
clang 22.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(), and clang::OMPClauseWithPreInit::OMPClauseWithPreInit().
Referenced by get(), get(), clang::OMPInReductionClause::OMPClauseReader, clang::OMPLastprivateClause::OMPClauseReader, clang::OMPReductionClause::OMPClauseReader, and clang::OMPTaskReductionClause::OMPClauseReader.
|
static |
Definition at line 192 of file OpenMPClause.cpp.
References clang::C, and OMPClauseWithPostUpdate().
|
static |
Definition at line 187 of file OpenMPClause.cpp.
References clang::C, get(), and OMPClauseWithPostUpdate().
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.
|
friend |
Definition at line 234 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.