clang 23.0.0git
OMPExclusiveClause Class Referencefinal

This represents clause 'exclusive' in the '#pragma omp scan' directive. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPExclusiveClause:
[legend]

Public Member Functions

child_range children ()
const_child_range children () const
child_range used_children ()
const_child_range used_children () const

Static Public Member Functions

static OMPExclusiveClauseCreate (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr * > VL)
 Creates clause with a list of variables VL.
static OMPExclusiveClauseCreateEmpty (const ASTContext &C, unsigned N)
 Creates an empty clause with the place for N variables.
static bool classof (const OMPClause *T)

Friends

class OMPClauseReader

Detailed Description

This represents clause 'exclusive' in the '#pragma omp scan' directive.

#pragma omp scan exclusive(a,b)

In this example directive '#pragma omp scan' has clause 'exclusive' with the variables 'a' and 'b'.

Definition at line 9223 of file OpenMPClause.h.

Member Function Documentation

◆ children() [1/2]

child_range OMPExclusiveClause::children ( )
inline

Definition at line 9268 of file OpenMPClause.h.

Referenced by children().

◆ children() [2/2]

const_child_range OMPExclusiveClause::children ( ) const
inline

Definition at line 9273 of file OpenMPClause.h.

References children().

◆ classof()

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

Definition at line 9284 of file OpenMPClause.h.

◆ Create()

OMPExclusiveClause * OMPExclusiveClause::Create ( const ASTContext & C,
SourceLocation StartLoc,
SourceLocation LParenLoc,
SourceLocation EndLoc,
ArrayRef< Expr * > VL )
static

Creates clause with a list of variables VL.

Parameters
CAST context.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.
VLList of references to the original variables.

Definition at line 1677 of file OpenMPClause.cpp.

References clang::C.

Referenced by clang::SemaOpenMP::ActOnOpenMPExclusiveClause().

◆ CreateEmpty()

OMPExclusiveClause * OMPExclusiveClause::CreateEmpty ( const ASTContext & C,
unsigned N )
static

Creates an empty clause with the place for N variables.

Parameters
CAST context.
NThe number of variables.

Definition at line 1689 of file OpenMPClause.cpp.

References clang::C.

Referenced by clang::OMPClauseReader::readClause().

◆ used_children() [1/2]

child_range OMPExclusiveClause::used_children ( )
inline

Definition at line 9277 of file OpenMPClause.h.

◆ used_children() [2/2]

const_child_range OMPExclusiveClause::used_children ( ) const
inline

Definition at line 9280 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 9226 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


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