|
clang
3.8.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 2618 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 2638 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 2645 of file OpenMPClause.h.
|
inline |
Definition at line 2661 of file OpenMPClause.h.
Definition at line 2657 of file OpenMPClause.h.
|
inline |
Return device number.
Definition at line 2653 of file OpenMPClause.h.
|
inline |
Return device number.
Definition at line 2655 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 2651 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 2649 of file OpenMPClause.h.
|
friend |
Definition at line 2619 of file OpenMPClause.h.
1.8.6