clang  3.8.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
OMPPriorityClause Class Reference

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

#include <OpenMPClause.h>

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

Public Member Functions

 OMPPriorityClause (Expr *E, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'priority' clause. More...
 
 OMPPriorityClause ()
 Build an empty clause. More...
 
void setLParenLoc (SourceLocation Loc)
 Sets the location of '('. More...
 
SourceLocation getLParenLoc () const
 Returns the location of '('. More...
 
Expr * getPriority ()
 Return Priority number. More...
 
Expr * getPriority () const
 Return Priority number. More...
 
child_range children ()
 

Static Public Member Functions

static bool classof (const OMPClause *T)
 

Friends

class OMPClauseReader
 

Detailed Description

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

#pragma omp task priority(n)

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

Definition at line 2962 of file OpenMPClause.h.

Constructor & Destructor Documentation

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

Build 'priority' clause.

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

Definition at line 2982 of file OpenMPClause.h.

OMPPriorityClause::OMPPriorityClause ( )
inline

Build an empty clause.

Definition at line 2989 of file OpenMPClause.h.

Member Function Documentation

child_range OMPPriorityClause::children ( )
inline

Definition at line 3005 of file OpenMPClause.h.

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

Definition at line 3001 of file OpenMPClause.h.

SourceLocation OMPPriorityClause::getLParenLoc ( ) const
inline

Returns the location of '('.

Definition at line 2995 of file OpenMPClause.h.

Expr* OMPPriorityClause::getPriority ( )
inline

Return Priority number.

Definition at line 2997 of file OpenMPClause.h.

Expr* OMPPriorityClause::getPriority ( ) const
inline

Return Priority number.

Definition at line 2999 of file OpenMPClause.h.

void OMPPriorityClause::setLParenLoc ( SourceLocation  Loc)
inline

Sets the location of '('.

Definition at line 2993 of file OpenMPClause.h.

Friends And Related Function Documentation

friend class OMPClauseReader
friend

Definition at line 2963 of file OpenMPClause.h.


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