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

Inherited from OMPClauseWithPreInit:

Methods

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)

Declared at: clang/include/clang/AST/OpenMPClause.h:171

Parameters

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

Description

Get post-update expression for the clause.

Declared at: clang/include/clang/AST/OpenMPClause.h:166

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)

Description

Set pre-initialization statement for the clause.

Declared at: clang/include/clang/AST/OpenMPClause.h:162

Parameters

clang::Expr* S