clang  6.0.0svn
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
clang::OMPClauseWithPreInit Class Reference

Class that handles pre-initialization statement for some clauses, like 'shedule', 'firstprivate' etc. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for clang::OMPClauseWithPreInit:
Inheritance graph
[legend]

Public Member Functions

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 OMPClauseWithPreInitget (OMPClause *C)
 
static const OMPClauseWithPreInitget (const OMPClause *C)
 

Protected Member Functions

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 pre-initialization statement for some clauses, like 'shedule', 'firstprivate' etc.

Definition at line 76 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPClauseWithPreInit()

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

Definition at line 89 of file OpenMPClause.h.

Member Function Documentation

◆ get() [1/2]

OMPClauseWithPreInit * OMPClauseWithPreInit::get ( OMPClause C)
static

Definition at line 32 of file OpenMPClause.cpp.

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

◆ get() [2/2]

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

◆ getCaptureRegion()

OpenMPDirectiveKind clang::OMPClauseWithPreInit::getCaptureRegion ( )
inline

Get capture region for the stmt in the clause.

Definition at line 100 of file OpenMPClause.h.

References clang::C.

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

◆ getPreInitStmt() [1/2]

const Stmt* clang::OMPClauseWithPreInit::getPreInitStmt ( ) const
inline

Get pre-initialization statement for the clause.

Definition at line 96 of file OpenMPClause.h.

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

◆ getPreInitStmt() [2/2]

Stmt* clang::OMPClauseWithPreInit::getPreInitStmt ( )
inline

Get pre-initialization statement for the clause.

Definition at line 98 of file OpenMPClause.h.

◆ setPreInitStmt()

void clang::OMPClauseWithPreInit::setPreInitStmt ( Stmt S,
OpenMPDirectiveKind  ThisRegion = OMPD_unknown 
)
inlineprotected

Friends And Related Function Documentation

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 77 of file OpenMPClause.h.


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