class OMPClauseWithPostUpdate
Declaration
class OMPClauseWithPostUpdate : public OMPClauseWithPreInit { /* full declaration omitted */ };
Description
Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc.
Declared at: clang/include/clang/AST/OpenMPClause.h:150
Inherits from: OMPClauseWithPreInit
Member Variables
- private clang::Expr* PostUpdate = nullptr
- Post-update expression for the clause.
Method Overview
- protected OMPClauseWithPostUpdate(const clang::OMPClause * This)
- public static clang::OMPClauseWithPostUpdate * get(clang::OMPClause * C)
- public static const clang::OMPClauseWithPostUpdate * get(const clang::OMPClause * C)
- public const clang::Expr * getPostUpdateExpr() const
- public clang::Expr * getPostUpdateExpr()
- protected void setPostUpdateExpr(clang::Expr * S)
Inherited from OMPClauseWithPreInit:
- public get
- public get
- public getCaptureRegion
- public getPreInitStmt
- public getPreInitStmt
- protected setPreInitStmt
Methods
¶OMPClauseWithPostUpdate(
const clang::OMPClause* This)
OMPClauseWithPostUpdate(
const clang::OMPClause* This)
Declared at: clang/include/clang/AST/OpenMPClause.h:157
Parameters
- const clang::OMPClause* This
¶static clang::OMPClauseWithPostUpdate* get(
clang::OMPClause* C)
static clang::OMPClauseWithPostUpdate* get(
clang::OMPClause* C)
Declared at: clang/include/clang/AST/OpenMPClause.h:171
Parameters
¶static const clang::OMPClauseWithPostUpdate* get(
const clang::OMPClause* C)
static const clang::OMPClauseWithPostUpdate* get(
const clang::OMPClause* C)
Declared at: clang/include/clang/AST/OpenMPClause.h:172
Parameters
- const clang::OMPClause* C
¶const clang::Expr* getPostUpdateExpr() const
const clang::Expr* getPostUpdateExpr() const
Description
Get post-update expression for the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:166
¶clang::Expr* getPostUpdateExpr()
clang::Expr* getPostUpdateExpr()
Description
Get post-update expression for the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:169
¶void setPostUpdateExpr(clang::Expr* S)
void setPostUpdateExpr(clang::Expr* S)
Description
Set pre-initialization statement for the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:162
Parameters
- clang::Expr* S