clang 20.0.0git
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 'schedule', '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.
 
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 OMPClauseWithPreInitget (OMPClause *C)
 
static const OMPClauseWithPreInitget (const OMPClause *C)
 

Protected Member Functions

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

Definition at line 195 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPClauseWithPreInit()

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

Definition at line 205 of file OpenMPClause.h.

References get().

Member Function Documentation

◆ get() [1/2]

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

Definition at line 64 of file OpenMPClause.cpp.

References clang::C.

◆ get() [2/2]

OMPClauseWithPreInit * OMPClauseWithPreInit::get ( OMPClause C)
static

Definition at line 59 of file OpenMPClause.cpp.

References clang::C, and get().

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

◆ getCaptureRegion()

OpenMPDirectiveKind clang::OMPClauseWithPreInit::getCaptureRegion ( ) const
inline

Get capture region for the stmt in the clause.

Definition at line 225 of file OpenMPClause.h.

◆ getPreInitStmt() [1/2]

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

Get pre-initialization statement for the clause.

Definition at line 222 of file OpenMPClause.h.

◆ getPreInitStmt() [2/2]

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

◆ setPreInitStmt()

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

Friends And Related Function Documentation

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 196 of file OpenMPClause.h.


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