clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::OMPProcBindClause Class Reference

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

#include <OpenMPClause.h>

Inheritance diagram for clang::OMPProcBindClause:
Inheritance graph
[legend]
Collaboration diagram for clang::OMPProcBindClause:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OMPProcBindClause (OpenMPProcBindClauseKind A, SourceLocation ALoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'proc_bind' clause with argument A ('master', 'close' or 'spread').
 OMPProcBindClause ()
 Build an empty clause.
void setLParenLoc (SourceLocation Loc)
 Sets the location of '('.
SourceLocation getLParenLoc () const
 Returns the location of '('.
OpenMPProcBindClauseKind getProcBindKind () const
 Returns kind of the clause.
SourceLocation getProcBindKindKwLoc () const
 Returns location of clause kind.
StmtRange children ()

Static Public Member Functions

static bool classof (const OMPClause *T)

Friends

class OMPClauseReader

Detailed Description

This represents 'proc_bind' clause in the '#pragma omp ...' directive.

 #pragma omp parallel proc_bind(master)

In this example directive '#pragma omp parallel' has simple 'proc_bind' clause with kind 'master'.

Definition at line 496 of file OpenMPClause.h.


Constructor & Destructor Documentation

Build 'proc_bind' clause with argument A ('master', 'close' or 'spread').

Parameters:
AArgument of the clause ('master', 'close' or 'spread').
ALocStarting location of the argument.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.

Definition at line 527 of file OpenMPClause.h.

Build an empty clause.

Definition at line 535 of file OpenMPClause.h.


Member Function Documentation

Reimplemented from clang::OMPClause.

Definition at line 555 of file OpenMPClause.h.

static bool clang::OMPProcBindClause::classof ( const OMPClause T) [inline, static]

Reimplemented from clang::OMPClause.

Definition at line 551 of file OpenMPClause.h.

References clang::OMPClause::getClauseKind().

Returns the location of '('.

Definition at line 543 of file OpenMPClause.h.

Returns kind of the clause.

Definition at line 546 of file OpenMPClause.h.

Returns location of clause kind.

Definition at line 549 of file OpenMPClause.h.

Sets the location of '('.

Definition at line 541 of file OpenMPClause.h.


Friends And Related Function Documentation

friend class OMPClauseReader [friend]

Definition at line 497 of file OpenMPClause.h.


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