|
clang 22.0.0git
|
Represents a clause that has one or more expressions associated with it. More...
#include "clang/AST/OpenACCClause.h"
Public Member Functions | |
| child_range | children () |
| const_child_range | children () const |
| Public Member Functions inherited from clang::OpenACCClauseWithParams | |
| SourceLocation | getLParenLoc () const |
| child_range | children () |
| const_child_range | children () const |
| Public Member Functions inherited from clang::OpenACCClause | |
| OpenACCClauseKind | getClauseKind () const |
| SourceLocation | getBeginLoc () const |
| SourceLocation | getEndLoc () const |
| SourceRange | getSourceRange () const |
| child_range | children () |
| const_child_range | children () const |
| virtual | ~OpenACCClause ()=default |
Static Public Member Functions | |
| static bool | classof (const OpenACCClause *C) |
| Static Public Member Functions inherited from clang::OpenACCClauseWithParams | |
| static bool | classof (const OpenACCClause *C) |
| Static Public Member Functions inherited from clang::OpenACCClause | |
| static bool | classof (const OpenACCClause *) |
Protected Member Functions | |
| OpenACCClauseWithExprs (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
| void | setExprs (MutableArrayRef< Expr * > NewExprs) |
| Used only for initialization, the leaf class can initialize this to trailing storage. | |
| void | setExprs (MutableArrayRef< Expr * > NewStorage, ArrayRef< Expr * > Exprs) |
| Used only for initialization, the leaf class can initialize this to trailing storage, and initialize the data in the trailing storage as well. | |
| ArrayRef< Expr * > | getExprs () const |
| Gets the entire list of expressions, but leave it to the individual clauses to expose this how they'd like. | |
| Protected Member Functions inherited from clang::OpenACCClauseWithParams | |
| OpenACCClauseWithParams (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
| Protected Member Functions inherited from clang::OpenACCClause | |
| OpenACCClause (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation EndLoc) | |
Additional Inherited Members | |
| Public Types inherited from clang::OpenACCClause | |
| 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> |
Represents a clause that has one or more expressions associated with it.
Definition at line 489 of file OpenACCClause.h.
|
inlineprotected |
Definition at line 493 of file OpenACCClause.h.
References clang::OpenACCClauseWithParams::OpenACCClauseWithParams().
Referenced by children(), clang::OpenACCClauseWithSingleIntExpr::OpenACCClauseWithSingleIntExpr(), clang::OpenACCClauseWithVarList::OpenACCClauseWithVarList(), and clang::OpenACCGangClause::OpenACCGangClause().
|
inline |
Definition at line 518 of file OpenACCClause.h.
Referenced by children().
|
inline |
Definition at line 523 of file OpenACCClause.h.
References children(), and OpenACCClauseWithExprs().
|
static |
Definition at line 26 of file OpenACCClause.cpp.
References clang::C, clang::OpenACCClauseWithSingleIntExpr::classof(), clang::OpenACCClauseWithVarList::classof(), clang::OpenACCGangClause::classof(), clang::OpenACCNumGangsClause::classof(), clang::OpenACCTileClause::classof(), and clang::OpenACCWaitClause::classof().
Referenced by clang::OpenACCClauseWithParams::classof().
Gets the entire list of expressions, but leave it to the individual clauses to expose this how they'd like.
Definition at line 514 of file OpenACCClause.h.
Referenced by clang::OpenACCWaitClause::getDevNumExpr(), clang::OpenACCGangClause::getExpr(), clang::OpenACCFirstPrivateClause::getInitRecipes(), clang::OpenACCFirstPrivateClause::getInitRecipes(), clang::OpenACCPrivateClause::getInitRecipes(), clang::OpenACCPrivateClause::getInitRecipes(), clang::OpenACCClauseWithSingleIntExpr::getIntExpr(), clang::OpenACCClauseWithSingleIntExpr::getIntExpr(), clang::OpenACCNumGangsClause::getIntExprs(), clang::OpenACCNumGangsClause::getIntExprs(), clang::OpenACCGangClause::getNumExprs(), clang::OpenACCWaitClause::getQueueIdExprs(), clang::OpenACCWaitClause::getQueueIdExprs(), clang::OpenACCReductionClause::getRecipes(), clang::OpenACCReductionClause::getRecipes(), clang::OpenACCTileClause::getSizeExprs(), clang::OpenACCTileClause::getSizeExprs(), clang::OpenACCClauseWithVarList::getVarList(), clang::OpenACCClauseWithVarList::getVarList(), clang::OpenACCWaitClause::hasDevNumExpr(), clang::OpenACCClauseWithSingleIntExpr::hasIntExpr(), clang::OpenACCFirstPrivateClause::numTrailingObjects(), clang::OpenACCPrivateClause::numTrailingObjects(), clang::OpenACCReductionClause::numTrailingObjects(), and clang::OpenACCReductionClause::numTrailingObjects().
|
inlineprotected |
Used only for initialization, the leaf class can initialize this to trailing storage.
Definition at line 499 of file OpenACCClause.h.
Referenced by clang::OpenACCClauseWithSingleIntExpr::OpenACCClauseWithSingleIntExpr(), clang::OpenACCGangClause::OpenACCGangClause(), and setExprs().
|
inlineprotected |
Used only for initialization, the leaf class can initialize this to trailing storage, and initialize the data in the trailing storage as well.
Definition at line 506 of file OpenACCClause.h.
References setExprs().