clang API Documentation

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

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

#include <OpenMPClause.h>

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

List of all members.

Public Member Functions

 OMPDefaultClause (OpenMPDefaultClauseKind A, SourceLocation ALoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'default' clause with argument A ('none' or 'shared').
 OMPDefaultClause ()
 Build an empty clause.
void setLParenLoc (SourceLocation Loc)
 Sets the location of '('.
SourceLocation getLParenLoc () const
 Returns the location of '('.
OpenMPDefaultClauseKind getDefaultKind () const
 Returns kind of the clause.
SourceLocation getDefaultKindKwLoc () 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 'default' clause in the '#pragma omp ...' directive.

 #pragma omp parallel default(shared)

In this example directive '#pragma omp parallel' has simple 'default' clause with kind 'shared'.

Definition at line 426 of file OpenMPClause.h.


Constructor & Destructor Documentation

Build 'default' clause with argument A ('none' or 'shared').

Parameters:
AArgument of the clause ('none' or 'shared').
ALocStarting location of the argument.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.

Definition at line 456 of file OpenMPClause.h.

Build an empty clause.

Definition at line 464 of file OpenMPClause.h.


Member Function Documentation

Reimplemented from clang::OMPClause.

Definition at line 484 of file OpenMPClause.h.

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

Reimplemented from clang::OMPClause.

Definition at line 480 of file OpenMPClause.h.

References clang::OMPClause::getClauseKind().

Returns kind of the clause.

Definition at line 475 of file OpenMPClause.h.

Returns location of clause kind.

Definition at line 478 of file OpenMPClause.h.

Returns the location of '('.

Definition at line 472 of file OpenMPClause.h.

Sets the location of '('.

Definition at line 470 of file OpenMPClause.h.


Friends And Related Function Documentation

friend class OMPClauseReader [friend]

Definition at line 427 of file OpenMPClause.h.


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