clang 20.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 '('. | |
OpenMPBindClauseKind | getBindKind () const |
Returns kind of the clause. | |
SourceLocation | getBindKindLoc () const |
Returns location of clause kind. | |
Public Member Functions inherited from clang::OMPNoChildClause< llvm::omp::OMPC_bind > | |
OMPNoChildClause (SourceLocation StartLoc, SourceLocation EndLoc) | |
Build 'ClauseKind' clause. | |
OMPNoChildClause () | |
Build an empty clause. | |
child_range | children () |
const_child_range | children () const |
child_range | used_children () |
const_child_range | used_children () const |
Public Member Functions inherited from clang::OMPClause | |
SourceLocation | getBeginLoc () const |
Returns the starting location of the clause. | |
SourceLocation | getEndLoc () const |
Returns the ending location of the clause. | |
void | setLocStart (SourceLocation Loc) |
Sets the starting location of the clause. | |
void | setLocEnd (SourceLocation Loc) |
Sets the ending location of the clause. | |
OpenMPClauseKind | getClauseKind () const |
Returns kind of OpenMP clause (private, shared, reduction, etc.). | |
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. | |
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'). | |
static OMPBindClause * | CreateEmpty (const ASTContext &C) |
Build an empty 'bind' clause. | |
Static Public Member Functions inherited from clang::OMPNoChildClause< llvm::omp::OMPC_bind > | |
static bool | classof (const OMPClause *T) |
Static Public Member Functions inherited from clang::OMPClause | |
static bool | classof (const OMPClause *) |
Friends | |
class | OMPClauseReader |
Additional Inherited Members | |
Public Types inherited from clang::OMPClause | |
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 > |
Protected Member Functions inherited from clang::OMPClause | |
OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'bind' clause in the '#pragma omp ...' directives.
Definition at line 9174 of file OpenMPClause.h.
|
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 1687 of file OpenMPClause.cpp.
References clang::C.
Referenced by clang::SemaOpenMP::ActOnOpenMPBindClause().
|
static |
Build an empty 'bind' clause.
C | AST context |
Definition at line 1693 of file OpenMPClause.cpp.
References clang::C.
Referenced by clang::OMPClauseReader::readClause().
|
inline |
|
inline |
Returns location of clause kind.
Definition at line 9236 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 9230 of file OpenMPClause.h.
|
friend |
Definition at line 9175 of file OpenMPClause.h.