clang
3.9.0
|
This represents 'device' clause in the '#pragma omp ...' directive. More...
#include <OpenMPClause.h>
Public Member Functions | |
OMPDeviceClause (Expr *E, 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 2677 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 2697 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 2704 of file OpenMPClause.h.
|
inline |
Definition at line 2720 of file OpenMPClause.h.
Definition at line 2716 of file OpenMPClause.h.
|
inline |
Return device number.
Definition at line 2712 of file OpenMPClause.h.
|
inline |
Return device number.
Definition at line 2714 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 2710 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 2708 of file OpenMPClause.h.
|
friend |
Definition at line 2678 of file OpenMPClause.h.