clang 24.0.0git
OMPBindClause Class Referencefinal

This represents 'bind' clause in the '#pragma omp ...' directives. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPBindClause:
[legend]

Public Member Functions

 OMPBindClause (OpenMPBindClauseKind K, SourceLocation KLoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'bind' clause with kind K ('teams', 'parallel', or 'thread').
 OMPBindClause ()
 Build an empty clause.
SourceLocation getLParenLoc () const
 Returns the location of '('.
OpenMPBindClauseKind getBindKind () const
 Returns kind of the clause.
SourceLocation getBindKindLoc () const
 Returns location of clause kind.

Friends

class OMPClauseReader

Detailed Description

This represents 'bind' clause in the '#pragma omp ...' directives.

#pragma omp loop bind(parallel)

Definition at line 9953 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPBindClause() [1/2]

OMPBindClause::OMPBindClause ( OpenMPBindClauseKind K,
SourceLocation KLoc,
SourceLocation StartLoc,
SourceLocation LParenLoc,
SourceLocation EndLoc )
inline

Build 'bind' clause with kind K ('teams', 'parallel', or 'thread').

Parameters
KBinding kind of the clause ('teams', 'parallel' or 'thread').
KLocStarting location of the binding kind.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.

Definition at line 9982 of file OpenMPClause.h.

◆ OMPBindClause() [2/2]

OMPBindClause::OMPBindClause ( )
inline

Build an empty clause.

Definition at line 9989 of file OpenMPClause.h.

Member Function Documentation

◆ getBindKind()

OpenMPBindClauseKind OMPBindClause::getBindKind ( ) const
inline

Returns kind of the clause.

Definition at line 9995 of file OpenMPClause.h.

◆ getBindKindLoc()

SourceLocation OMPBindClause::getBindKindLoc ( ) const
inline

Returns location of clause kind.

Definition at line 9998 of file OpenMPClause.h.

◆ getLParenLoc()

SourceLocation OMPBindClause::getLParenLoc ( ) const
inline

Returns the location of '('.

Definition at line 9992 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 9954 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


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