|
clang
5.0.0
|
This represents 'device' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/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 2912 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 2932 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 2939 of file OpenMPClause.h.
|
inline |
Definition at line 2955 of file OpenMPClause.h.
Definition at line 2951 of file OpenMPClause.h.
|
inline |
Return device number.
Definition at line 2947 of file OpenMPClause.h.
|
inline |
Return device number.
Definition at line 2949 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 2945 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 2943 of file OpenMPClause.h.
|
friend |
Definition at line 2913 of file OpenMPClause.h.
1.8.6