clang 20.0.0git
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
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:
Inheritance graph
[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()

clang::OMPClauseWithPostUpdate::OMPClauseWithPostUpdate ( const OMPClause This)
inlineprotected

Definition at line 240 of file OpenMPClause.h.

References get().

Member Function Documentation

◆ get() [1/2]

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

Definition at line 188 of file OpenMPClause.cpp.

References clang::C.

◆ get() [2/2]

OMPClauseWithPostUpdate * OMPClauseWithPostUpdate::get ( OMPClause C)
static

Definition at line 183 of file OpenMPClause.cpp.

References clang::C, and get().

Referenced by clang::SemaOpenMP::ActOnOpenMPRegionEnd(), get(), and OMPClauseWithPostUpdate().

◆ 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

Friends And Related Function Documentation

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 234 of file OpenMPClause.h.


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