clang  3.9.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
OMPNumTeamsClause Class Reference

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

#include <OpenMPClause.h>

Inheritance diagram for OMPNumTeamsClause:
[legend]
Collaboration diagram for OMPNumTeamsClause:
[legend]

Public Member Functions

 OMPNumTeamsClause (Expr *E, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'num_teams' clause. More...
 
 OMPNumTeamsClause ()
 Build an empty clause. More...
 
void setLParenLoc (SourceLocation Loc)
 Sets the location of '('. More...
 
SourceLocation getLParenLoc () const
 Returns the location of '('. More...
 
Expr * getNumTeams ()
 Return NumTeams number. More...
 
Expr * getNumTeams () const
 Return NumTeams number. More...
 
child_range children ()
 

Static Public Member Functions

static bool classof (const OMPClause *T)
 

Friends

class OMPClauseReader
 

Detailed Description

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

#pragma omp teams num_teams(n)

In this example directive '#pragma omp teams' has clause 'num_teams' with single expression 'n'.

Definition at line 3459 of file OpenMPClause.h.

Constructor & Destructor Documentation

OMPNumTeamsClause::OMPNumTeamsClause ( Expr *  E,
SourceLocation  StartLoc,
SourceLocation  LParenLoc,
SourceLocation  EndLoc 
)
inline

Build 'num_teams' clause.

Parameters
EExpression associated with this clause.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.

Definition at line 3479 of file OpenMPClause.h.

OMPNumTeamsClause::OMPNumTeamsClause ( )
inline

Build an empty clause.

Definition at line 3486 of file OpenMPClause.h.

Member Function Documentation

child_range OMPNumTeamsClause::children ( )
inline

Definition at line 3502 of file OpenMPClause.h.

static bool OMPNumTeamsClause::classof ( const OMPClause T)
inlinestatic

Definition at line 3498 of file OpenMPClause.h.

SourceLocation OMPNumTeamsClause::getLParenLoc ( ) const
inline

Returns the location of '('.

Definition at line 3492 of file OpenMPClause.h.

Expr* OMPNumTeamsClause::getNumTeams ( )
inline

Return NumTeams number.

Definition at line 3494 of file OpenMPClause.h.

Expr* OMPNumTeamsClause::getNumTeams ( ) const
inline

Return NumTeams number.

Definition at line 3496 of file OpenMPClause.h.

void OMPNumTeamsClause::setLParenLoc ( SourceLocation  Loc)
inline

Sets the location of '('.

Definition at line 3490 of file OpenMPClause.h.

Friends And Related Function Documentation

friend class OMPClauseReader
friend

Definition at line 3460 of file OpenMPClause.h.


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