clang: clang::OMPPartialClause Class Reference (original) (raw)
Representation of the 'partial' clause of the '#pragma omp unroll' directive. More...
#include "[clang/AST/OpenMPClause.h](OpenMPClause%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
SourceLocation | getLParenLoc () const |
Returns the location of '('. | |
Expr * | getFactor () const |
Returns the argument of the clause or nullptr if not set. | |
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. | |
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 OMPPartialClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, Expr *Factor) |
Build an AST node for a 'partial' clause. | |
static OMPPartialClause * | CreateEmpty (const ASTContext &C) |
Build an empty 'partial' AST node for deserialization. | |
static bool | classof (const OMPClause *T) |
![]() |
|
static bool | classof (const OMPClause *) |
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) | |
Representation of the 'partial' clause of the '#pragma omp unroll' directive.
#pragma omp unroll partial(4)
for (int i = start; i < end; ++i)
Definition at line 1161 of file OpenMPClause.h.
◆ children() [1/2]
child_range clang::OMPPartialClause::children ( ) | inline |
---|
◆ children() [2/2]
◆ classof()
static bool clang::OMPPartialClause::classof ( const OMPClause * T) | inlinestatic |
---|
◆ Create()
◆ CreateEmpty()
◆ getFactor()
Expr * clang::OMPPartialClause::getFactor ( ) const | inline |
---|
◆ getLParenLoc()
◆ used_children() [1/2]
child_range clang::OMPPartialClause::used_children ( ) | inline |
---|
◆ used_children() [2/2]
◆ OMPClauseReader
The documentation for this class was generated from the following files:
- include/clang/AST/OpenMPClause.h
- lib/AST/OpenMPClause.cpp