clang 23.0.0git
OMPDynGroupprivateClause Class Reference

This represents 'dyn_groupprivate' clause in '#pragma omp target ...' and '#pragma omp teams ...' directives. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPDynGroupprivateClause:
[legend]

Public Member Functions

 OMPDynGroupprivateClause (SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, Expr *Size, Stmt *HelperSize, OpenMPDirectiveKind CaptureRegion, OpenMPDynGroupprivateClauseModifier M1, SourceLocation M1Loc, OpenMPDynGroupprivateClauseFallbackModifier M2, SourceLocation M2Loc)
 Build 'dyn_groupprivate' clause with a size expression Size.
 OMPDynGroupprivateClause ()
 Build an empty clause.
OpenMPDynGroupprivateClauseModifier getDynGroupprivateModifier () const
 Get the first modifier of the clause.
OpenMPDynGroupprivateClauseFallbackModifier getDynGroupprivateFallbackModifier () const
 Get the second modifier of the clause.
SourceLocation getLParenLoc ()
 Get location of '('.
SourceLocation getDynGroupprivateModifierLoc () const
 Get the first modifier location.
SourceLocation getDynGroupprivateFallbackModifierLoc () const
 Get the second modifier location.
Expr * getSize ()
 Get size.
const Expr * getSize () const
 Get size.
child_range children ()
const_child_range children () const
child_range used_children ()
const_child_range used_children () const

Static Public Member Functions

static bool classof (const OMPClause *T)

Friends

class OMPClauseReader

Detailed Description

This represents 'dyn_groupprivate' clause in '#pragma omp target ...' and '#pragma omp teams ...' directives.

#pragma omp target [...] dyn_groupprivate(a,b: N)

Definition at line 9977 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPDynGroupprivateClause() [1/2]

OMPDynGroupprivateClause::OMPDynGroupprivateClause ( SourceLocation StartLoc,
SourceLocation LParenLoc,
SourceLocation EndLoc,
Expr * Size,
Stmt * HelperSize,
OpenMPDirectiveKind CaptureRegion,
OpenMPDynGroupprivateClauseModifier M1,
SourceLocation M1Loc,
OpenMPDynGroupprivateClauseFallbackModifier M2,
SourceLocation M2Loc )
inline

Build 'dyn_groupprivate' clause with a size expression Size.

Parameters
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.
SizeSize.
M1The first modifier applied to 'dyn_groupprivate' clause.
M1LocLocation of the first modifier.
M2The second modifier applied to 'dyn_groupprivate' clause.
M2LocLocation of the second modifier.

Definition at line 10039 of file OpenMPClause.h.

Referenced by children().

◆ OMPDynGroupprivateClause() [2/2]

OMPDynGroupprivateClause::OMPDynGroupprivateClause ( )
inlineexplicit

Build an empty clause.

Definition at line 10056 of file OpenMPClause.h.

Member Function Documentation

◆ children() [1/2]

child_range OMPDynGroupprivateClause::children ( )
inline

Definition at line 10095 of file OpenMPClause.h.

Referenced by children().

◆ children() [2/2]

const_child_range OMPDynGroupprivateClause::children ( ) const
inline

Definition at line 10100 of file OpenMPClause.h.

References children(), and OMPDynGroupprivateClause().

◆ classof()

bool OMPDynGroupprivateClause::classof ( const OMPClause * T)
inlinestatic

Definition at line 10111 of file OpenMPClause.h.

◆ getDynGroupprivateFallbackModifier()

OpenMPDynGroupprivateClauseFallbackModifier OMPDynGroupprivateClause::getDynGroupprivateFallbackModifier ( ) const
inline

Get the second modifier of the clause.

Definition at line 10071 of file OpenMPClause.h.

◆ getDynGroupprivateFallbackModifierLoc()

SourceLocation OMPDynGroupprivateClause::getDynGroupprivateFallbackModifierLoc ( ) const
inline

Get the second modifier location.

Definition at line 10085 of file OpenMPClause.h.

◆ getDynGroupprivateModifier()

OpenMPDynGroupprivateClauseModifier OMPDynGroupprivateClause::getDynGroupprivateModifier ( ) const
inline

Get the first modifier of the clause.

Definition at line 10065 of file OpenMPClause.h.

◆ getDynGroupprivateModifierLoc()

SourceLocation OMPDynGroupprivateClause::getDynGroupprivateModifierLoc ( ) const
inline

Get the first modifier location.

Definition at line 10080 of file OpenMPClause.h.

◆ getLParenLoc()

SourceLocation OMPDynGroupprivateClause::getLParenLoc ( )
inline

Get location of '('.

Definition at line 10077 of file OpenMPClause.h.

◆ getSize() [1/2]

Expr * OMPDynGroupprivateClause::getSize ( )
inline

Get size.

Definition at line 10090 of file OpenMPClause.h.

◆ getSize() [2/2]

const Expr * OMPDynGroupprivateClause::getSize ( ) const
inline

Get size.

Definition at line 10093 of file OpenMPClause.h.

◆ used_children() [1/2]

child_range OMPDynGroupprivateClause::used_children ( )
inline

Definition at line 10104 of file OpenMPClause.h.

◆ used_children() [2/2]

const_child_range OMPDynGroupprivateClause::used_children ( ) const
inline

Definition at line 10107 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 9978 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


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