clang
9.0.0
|
This represents implicit clause 'flush' for the '#pragma omp flush' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
child_range | children () |
const_child_range | children () const |
child_range | used_children () |
const_child_range | used_children () const |
Static Public Member Functions | |
static OMPFlushClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr *> VL) |
Creates clause with a list of variables VL. More... | |
static OMPFlushClause * | CreateEmpty (const ASTContext &C, unsigned N) |
Creates an empty clause with N variables. More... | |
static bool | classof (const OMPClause *T) |
This represents implicit clause 'flush' for the '#pragma omp flush' directive.
This clause does not exist by itself, it can be only as a part of 'omp flush' directive. This clause is introduced to keep the original structure of OMPExecutableDirective class and its derivatives and to use the existing infrastructure of clauses with the list of variables.
In this example directive '#pragma omp flush' has implicit clause 'flush' with the variables 'a' and 'b'.
Definition at line 3818 of file OpenMPClause.h.
|
inline |
Definition at line 3861 of file OpenMPClause.h.
|
inline |
Definition at line 3866 of file OpenMPClause.h.
References clang::OMPClause::children().
Definition at line 3878 of file OpenMPClause.h.
|
static |
Creates clause with a list of variables VL.
C | AST context. |
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
VL | List of references to the variables. |
Definition at line 756 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnOpenMPFlushClause().
|
static |
Creates an empty clause with N variables.
C | AST context. |
N | The number of variables. |
Definition at line 768 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
|
inline |
Definition at line 3871 of file OpenMPClause.h.
|
inline |
Definition at line 3874 of file OpenMPClause.h.