clang API Documentation

Public Member Functions | Static Public Member Functions
clang::OMPReadClause Class Reference

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

#include <OpenMPClause.h>

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

List of all members.

Public Member Functions

 OMPReadClause (SourceLocation StartLoc, SourceLocation EndLoc)
 Build 'read' clause.
 OMPReadClause ()
 Build an empty clause.
StmtRange children ()

Static Public Member Functions

static bool classof (const OMPClause *T)

Detailed Description

This represents 'read' clause in the '#pragma omp atomic' directive.

 #pragma omp atomic read

In this example directive '#pragma omp atomic' has 'read' clause.

Definition at line 780 of file OpenMPClause.h.


Constructor & Destructor Documentation

Build 'read' clause.

Parameters:
StartLocStarting location of the clause.
EndLocEnding location of the clause.

Definition at line 787 of file OpenMPClause.h.

Build an empty clause.

Definition at line 792 of file OpenMPClause.h.


Member Function Documentation

Reimplemented from clang::OMPClause.

Definition at line 798 of file OpenMPClause.h.

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

Reimplemented from clang::OMPClause.

Definition at line 794 of file OpenMPClause.h.

References clang::OMPClause::getClauseKind().


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