clang
3.7.0
|
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. More... | |
OMPReadClause () | |
Build an empty clause. More... | |
StmtRange | children () |
![]() | |
SourceLocation | getLocStart () const |
Returns the starting location of the clause. More... | |
SourceLocation | getLocEnd () const |
Returns the ending location of the clause. More... | |
void | setLocStart (SourceLocation Loc) |
Sets the starting location of the clause. More... | |
void | setLocEnd (SourceLocation Loc) |
Sets the ending location of the clause. More... | |
OpenMPClauseKind | getClauseKind () const |
Returns kind of OpenMP clause (private, shared, reduction, etc.). More... | |
bool | isImplicit () const |
StmtRange | children () |
ConstStmtRange | children () const |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
![]() | |
static bool | classof (const OMPClause *) |
Additional Inherited Members | |
![]() | |
OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'read' clause in the '#pragma omp atomic' directive.
In this example directive '#pragma omp atomic' has 'read' clause.
Definition at line 808 of file OpenMPClause.h.
|
inline |
Build 'read' clause.
StartLoc | Starting location of the clause. |
EndLoc | Ending location of the clause. |
Definition at line 815 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 820 of file OpenMPClause.h.
|
inline |
Definition at line 826 of file OpenMPClause.h.
Definition at line 822 of file OpenMPClause.h.
References clang::OMPClause::getClauseKind().