clang  6.0.0svn
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]
Collaboration diagram for clang::OMPClauseWithPostUpdate:
Collaboration graph
[legend]

Public Member Functions

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

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

void setPostUpdateExpr (Expr *S)
 Set pre-initialization statement for the clause. More...
 
 OMPClauseWithPostUpdate (const OMPClause *This)
 
- Protected Member Functions inherited from clang::OMPClauseWithPreInit
void setPreInitStmt (Stmt *S, OpenMPDirectiveKind ThisRegion=OMPD_unknown)
 Set pre-initialization statement for the clause. More...
 
 OMPClauseWithPreInit (const OMPClause *This)
 

Friends

class OMPClauseReader
 

Detailed Description

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

Definition at line 107 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPClauseWithPostUpdate()

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

Definition at line 114 of file OpenMPClause.h.

Member Function Documentation

◆ get() [1/2]

OMPClauseWithPostUpdate * OMPClauseWithPostUpdate::get ( OMPClause C)
static

Definition at line 109 of file OpenMPClause.cpp.

Referenced by clang::Sema::ActOnOpenMPRegionEnd().

◆ get() [2/2]

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

◆ getPostUpdateExpr() [1/2]

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

Get post-update expression for the clause.

Definition at line 121 of file OpenMPClause.h.

Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().

◆ getPostUpdateExpr() [2/2]

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

Get post-update expression for the clause.

Definition at line 123 of file OpenMPClause.h.

References clang::C.

◆ setPostUpdateExpr()

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

Friends And Related Function Documentation

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 108 of file OpenMPClause.h.


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