clang 22.0.0git
clang::OMPClauseWithPostUpdate Class Reference

Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for clang::OMPClauseWithPostUpdate:
[legend]

Public Member Functions

const ExprgetPostUpdateExpr () const
 Get post-update expression for the clause.
ExprgetPostUpdateExpr ()
 Get post-update expression for the clause.
Public Member Functions inherited from clang::OMPClauseWithPreInit
const StmtgetPreInitStmt () const
 Get pre-initialization statement for the clause.
StmtgetPreInitStmt ()
 Get pre-initialization statement for the clause.
OpenMPDirectiveKind getCaptureRegion () const
 Get capture region for the stmt in the clause.

Static Public Member Functions

static OMPClauseWithPostUpdateget (OMPClause *C)
static const OMPClauseWithPostUpdateget (const OMPClause *C)
Static Public Member Functions inherited from clang::OMPClauseWithPreInit
static OMPClauseWithPreInitget (OMPClause *C)
static const OMPClauseWithPreInitget (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

Detailed Description

Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc.

Definition at line 233 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPClauseWithPostUpdate()

Member Function Documentation

◆ get() [1/2]

const OMPClauseWithPostUpdate * OMPClauseWithPostUpdate::get ( const OMPClause * C)
static

Definition at line 189 of file OpenMPClause.cpp.

References clang::C, and OMPClauseWithPostUpdate().

◆ get() [2/2]

OMPClauseWithPostUpdate * OMPClauseWithPostUpdate::get ( OMPClause * C)
static

◆ getPostUpdateExpr() [1/2]

Expr * clang::OMPClauseWithPostUpdate::getPostUpdateExpr ( )
inline

Get post-update expression for the clause.

Definition at line 252 of file OpenMPClause.h.

◆ getPostUpdateExpr() [2/2]

const Expr * clang::OMPClauseWithPostUpdate::getPostUpdateExpr ( ) const
inline

Get post-update expression for the clause.

Definition at line 249 of file OpenMPClause.h.

◆ setPostUpdateExpr()

void clang::OMPClauseWithPostUpdate::setPostUpdateExpr ( Expr * S)
inlineprotected

Set pre-initialization statement for the clause.

Definition at line 245 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 234 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


The documentation for this class was generated from the following files: