clang 22.0.0git
|
This class represents the 'looprange' clause in the '#pragma omp fuse' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
SourceLocation | getLParenLoc () const |
SourceLocation | getFirstLoc () const |
SourceLocation | getCountLoc () const |
void | setLParenLoc (SourceLocation Loc) |
void | setFirstLoc (SourceLocation Loc) |
void | setCountLoc (SourceLocation Loc) |
Expr * | getFirst () const |
Get looprange 'first' expression. | |
Expr * | getCount () const |
Get looprange 'count' expression. | |
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 OMPLoopRangeClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation FirstLoc, SourceLocation CountLoc, SourceLocation EndLoc, Expr *First, Expr *Count) |
Build a 'looprange' clause AST node. | |
static OMPLoopRangeClause * | CreateEmpty (const ASTContext &C) |
Build an empty 'looprange' clause node. | |
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 class represents the 'looprange' clause in the '#pragma omp fuse' directive.
Definition at line 1162 of file OpenMPClause.h.
|
inline |
Definition at line 1209 of file OpenMPClause.h.
|
inline |
Definition at line 1210 of file OpenMPClause.h.
Definition at line 1221 of file OpenMPClause.h.
References clang::OMPClause::OMPClause(), and clang::T.
|
static |
Build a 'looprange' clause AST node.
Definition at line 1028 of file OpenMPClause.cpp.
References clang::C, CreateEmpty(), and clang::First.
Referenced by clang::SemaOpenMP::ActOnOpenMPLoopRangeClause().
|
static |
Build an empty 'looprange' clause node.
Definition at line 1043 of file OpenMPClause.cpp.
References clang::C.
Referenced by Create(), and clang::OMPClauseReader::readClause().
|
inline |
Get looprange 'count' expression.
Definition at line 1207 of file OpenMPClause.h.
|
inline |
Definition at line 1197 of file OpenMPClause.h.
|
inline |
Get looprange 'first' expression.
Definition at line 1204 of file OpenMPClause.h.
|
inline |
Definition at line 1196 of file OpenMPClause.h.
|
inline |
Definition at line 1195 of file OpenMPClause.h.
|
inline |
Definition at line 1201 of file OpenMPClause.h.
|
inline |
Definition at line 1200 of file OpenMPClause.h.
|
inline |
Definition at line 1199 of file OpenMPClause.h.
|
inline |
Definition at line 1214 of file OpenMPClause.h.
|
inline |
Definition at line 1217 of file OpenMPClause.h.
|
friend |
Definition at line 1163 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.