clang
6.0.0
|
This represents 'device' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPDeviceClause (Expr *E, Stmt *HelperE, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Build 'device' clause. More... | |
OMPDeviceClause () | |
Build an empty clause. More... | |
void | setLParenLoc (SourceLocation Loc) |
Sets the location of '('. More... | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
Expr * | getDevice () |
Return device number. More... | |
Expr * | getDevice () const |
Return device number. More... | |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
Friends | |
class | OMPClauseReader |
This represents 'device' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp target' has clause 'device' with single expression 'a'.
Definition at line 3177 of file OpenMPClause.h.
|
inline |
Build 'device' clause.
E | Expression associated with this clause. |
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
Definition at line 3198 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 3206 of file OpenMPClause.h.
|
inline |
Definition at line 3222 of file OpenMPClause.h.
Definition at line 3224 of file OpenMPClause.h.
|
inline |
Return device number.
Definition at line 3217 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Return device number.
Definition at line 3220 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 3214 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Sets the location of '('.
Definition at line 3211 of file OpenMPClause.h.
|
friend |
Definition at line 3178 of file OpenMPClause.h.