clang API Documentation
This represents 'read' clause in the '#pragma omp atomic' directive. More...
#include <OpenMPClause.h>
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) |
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.
clang::OMPReadClause::OMPReadClause | ( | SourceLocation | StartLoc, |
SourceLocation | EndLoc | ||
) | [inline] |
Build 'read' clause.
StartLoc | Starting location of the clause. |
EndLoc | Ending location of the clause. |
Definition at line 787 of file OpenMPClause.h.
clang::OMPReadClause::OMPReadClause | ( | ) | [inline] |
Build an empty clause.
Definition at line 792 of file OpenMPClause.h.
StmtRange clang::OMPReadClause::children | ( | ) | [inline] |
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().