|
clang
5.0.0
|
This represents clause 'aligned' in the '#pragma omp ...' directives. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| void | setColonLoc (SourceLocation Loc) |
| Sets the location of ':'. More... | |
| SourceLocation | getColonLoc () const |
| Returns the location of ':'. More... | |
| Expr * | getAlignment () |
| Returns alignment. More... | |
| const Expr * | getAlignment () const |
| Returns alignment. More... | |
| child_range | children () |
Static Public Member Functions | |
| static OMPAlignedClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef< Expr * > VL, Expr *A) |
| Creates clause with a list of variables VL and alignment A. More... | |
| static OMPAlignedClause * | CreateEmpty (const ASTContext &C, unsigned NumVars) |
| Creates an empty clause with the place for NumVars variables. More... | |
| static bool | classof (const OMPClause *T) |
Friends | |
| class | OMPClauseReader |
This represents clause 'aligned' in the '#pragma omp ...' directives.
In this example directive '#pragma omp simd' has clause 'aligned' with variables 'a', 'b' and alignment '8'.
Definition at line 2345 of file OpenMPClause.h.
|
inline |
Definition at line 2415 of file OpenMPClause.h.
Definition at line 2420 of file OpenMPClause.h.
|
static |
Creates clause with a list of variables VL and alignment A.
| C | AST Context. |
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| ColonLoc | Location of ':'. |
| EndLoc | Ending location of the clause. |
| VL | List of references to the variables. |
| A | Alignment. |
Definition at line 359 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnOpenMPAlignedClause().
|
static |
Creates an empty clause with the place for NumVars variables.
| C | AST context. |
| NumVars | Number of variables. |
Definition at line 370 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::OMPClauseReader::readClause().
|
inline |
Returns alignment.
Definition at line 2411 of file OpenMPClause.h.
|
inline |
Returns alignment.
Definition at line 2413 of file OpenMPClause.h.
|
inline |
|
inline |
|
friend |
Definition at line 2350 of file OpenMPClause.h.
1.8.6