class OMPClauseWithPreInit
Declaration
class OMPClauseWithPreInit { /* full declaration omitted */ };
Description
Class that handles pre-initialization statement for some clauses, like 'shedule', 'firstprivate' etc.
Declared at: clang/include/clang/AST/OpenMPClause.h:112
Member Variables
- private clang::Stmt* PreInit = nullptr
- Pre-initialization statement for the clause.
- private clang::OpenMPDirectiveKind CaptureRegion = llvm::omp::OMPD_unknown
- Region that captures the associated stmt.
Method Overview
- protected OMPClauseWithPreInit(const clang::OMPClause * This)
- public static clang::OMPClauseWithPreInit * get(clang::OMPClause * C)
- public static const clang::OMPClauseWithPreInit * get(const clang::OMPClause * C)
- public clang::OpenMPDirectiveKind getCaptureRegion() const
- public const clang::Stmt * getPreInitStmt() const
- public clang::Stmt * getPreInitStmt()
- protected void setPreInitStmt(clang::Stmt * S, clang::OpenMPDirectiveKind ThisRegion = llvm::omp::OMPD_unknown)
Methods
¶OMPClauseWithPreInit(const clang::OMPClause* This)
OMPClauseWithPreInit(const clang::OMPClause* This)
Declared at: clang/include/clang/AST/OpenMPClause.h:122
Parameters
- const clang::OMPClause* This
¶static clang::OMPClauseWithPreInit* get(
clang::OMPClause* C)
static clang::OMPClauseWithPreInit* get(
clang::OMPClause* C)
Declared at: clang/include/clang/AST/OpenMPClause.h:144
Parameters
¶static const clang::OMPClauseWithPreInit* get(
const clang::OMPClause* C)
static const clang::OMPClauseWithPreInit* get(
const clang::OMPClause* C)
Declared at: clang/include/clang/AST/OpenMPClause.h:145
Parameters
- const clang::OMPClause* C
¶clang::OpenMPDirectiveKind getCaptureRegion()
const
clang::OpenMPDirectiveKind getCaptureRegion()
const
Description
Get capture region for the stmt in the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:142
¶const clang::Stmt* getPreInitStmt() const
const clang::Stmt* getPreInitStmt() const
Description
Get pre-initialization statement for the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:136
¶clang::Stmt* getPreInitStmt()
clang::Stmt* getPreInitStmt()
Description
Get pre-initialization statement for the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:139
¶void setPreInitStmt(
clang::Stmt* S,
clang::OpenMPDirectiveKind ThisRegion =
llvm::omp::OMPD_unknown)
void setPreInitStmt(
clang::Stmt* S,
clang::OpenMPDirectiveKind ThisRegion =
llvm::omp::OMPD_unknown)
Description
Set pre-initialization statement for the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:128
Parameters
- clang::Stmt* S
- clang::OpenMPDirectiveKind ThisRegion = llvm::omp::OMPD_unknown