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 10002 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 10031 of file OpenMPClause.h.

◆ OMPBindClause() [2/2]

OMPBindClause::OMPBindClause ( )
inline

Build an empty clause.

Definition at line 10038 of file OpenMPClause.h.

Member Function Documentation

◆ getBindKind()

OpenMPBindClauseKind OMPBindClause::getBindKind ( ) const
inline

Returns kind of the clause.

Definition at line 10044 of file OpenMPClause.h.

◆ getBindKindLoc()

SourceLocation OMPBindClause::getBindKindLoc ( ) const
inline

Returns location of clause kind.

Definition at line 10047 of file OpenMPClause.h.

◆ getLParenLoc()

SourceLocation OMPBindClause::getLParenLoc ( ) const
inline

Returns the location of '('.

Definition at line 10041 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 10003 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


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