clang  3.9.0
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 <OpenMPClause.h>

Inheritance diagram for clang::OMPClauseWithPostUpdate:
[legend]
Collaboration diagram for clang::OMPClauseWithPostUpdate:
[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...
 

Static Public Member Functions

static OMPClauseWithPostUpdateget (OMPClause *C)
 
static const
OMPClauseWithPostUpdate
get (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)
 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 97 of file OpenMPClause.h.

Constructor & Destructor Documentation

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

Definition at line 104 of file OpenMPClause.h.

Member Function Documentation

OMPClauseWithPostUpdate * OMPClauseWithPostUpdate::get ( OMPClause C)
static

Definition at line 100 of file OpenMPClause.cpp.

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

const OMPClauseWithPostUpdate * OMPClauseWithPostUpdate::get ( const OMPClause C)
static
const Expr* clang::OMPClauseWithPostUpdate::getPostUpdateExpr ( ) const
inline

Get post-update expression for the clause.

Definition at line 111 of file OpenMPClause.h.

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

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

Get post-update expression for the clause.

Definition at line 113 of file OpenMPClause.h.

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

Set pre-initialization statement for the clause.

Definition at line 103 of file OpenMPClause.h.

References S.

Referenced by clang::OMPLastprivateClause::Create(), clang::OMPReductionClause::Create(), and clang::OMPClauseReader::VisitOMPClauseWithPostUpdate().

Friends And Related Function Documentation

friend class OMPClauseReader
friend

Definition at line 98 of file OpenMPClause.h.


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