clang
15.0.0git
|
This represents 'bind' clause in the '#pragma omp ...' directives. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
OpenMPBindClauseKind | getBindKind () const |
Returns kind of the clause. More... | |
SourceLocation | getBindKindLoc () const |
Returns location of clause kind. More... | |
child_range | children () |
const_child_range | children () const |
child_range | used_children () |
const_child_range | used_children () const |
![]() | |
SourceLocation | getBeginLoc () const |
Returns the starting location of the clause. More... | |
SourceLocation | getEndLoc () const |
Returns the ending location of the clause. More... | |
void | setLocStart (SourceLocation Loc) |
Sets the starting location of the clause. More... | |
void | setLocEnd (SourceLocation Loc) |
Sets the ending location of the clause. More... | |
OpenMPClauseKind | getClauseKind () const |
Returns kind of OpenMP clause (private, shared, reduction, etc.). More... | |
bool | isImplicit () const |
child_range | children () |
const_child_range | children () const |
child_range | used_children () |
Get the iterator range for the expressions used in the clauses. More... | |
const_child_range | used_children () const |
Static Public Member Functions | |
static OMPBindClause * | Create (const ASTContext &C, OpenMPBindClauseKind K, SourceLocation KLoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) |
Build 'bind' clause with kind K ('teams', 'parallel', or 'thread'). More... | |
static OMPBindClause * | CreateEmpty (const ASTContext &C) |
Build an empty 'bind' clause. More... | |
static bool | classof (const OMPClause *T) |
![]() | |
static bool | classof (const OMPClause *) |
Friends | |
class | OMPClauseReader |
Additional Inherited Members | |
![]() | |
using | child_iterator = StmtIterator |
using | const_child_iterator = ConstStmtIterator |
using | child_range = llvm::iterator_range< child_iterator > |
using | const_child_range = llvm::iterator_range< const_child_iterator > |
![]() | |
OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'bind' clause in the '#pragma omp ...' directives.
Definition at line 8634 of file OpenMPClause.h.
|
inline |
Definition at line 8699 of file OpenMPClause.h.
|
inline |
Definition at line 8703 of file OpenMPClause.h.
Definition at line 8714 of file OpenMPClause.h.
References clang::OMPClause::getClauseKind().
|
static |
Build 'bind' clause with kind K ('teams', 'parallel', or 'thread').
C | AST context |
K | Binding kind of the clause ('teams', 'parallel' or 'thread'). |
KLoc | Starting location of the binding kind. |
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
Definition at line 1650 of file OpenMPClause.cpp.
Referenced by clang::Sema::ActOnOpenMPBindClause().
|
static |
Build an empty 'bind' clause.
C | AST context |
Definition at line 1656 of file OpenMPClause.cpp.
Referenced by clang::OMPClauseReader::readClause().
|
inline |
Returns kind of the clause.
Definition at line 8694 of file OpenMPClause.h.
|
inline |
Returns location of clause kind.
Definition at line 8697 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 8691 of file OpenMPClause.h.
|
inline |
Definition at line 8707 of file OpenMPClause.h.
|
inline |
Definition at line 8710 of file OpenMPClause.h.
|
friend |
Definition at line 8635 of file OpenMPClause.h.