clang API Documentation
This represents 'schedule' clause in the '#pragma omp ...' directive. More...
#include <OpenMPClause.h>


Public Member Functions | |
| OMPScheduleClause (SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KLoc, SourceLocation CommaLoc, SourceLocation EndLoc, OpenMPScheduleClauseKind Kind, Expr *ChunkSize) | |
| Build 'schedule' clause with schedule kind Kind and chunk size expression ChunkSize. | |
| OMPScheduleClause () | |
| Build an empty clause. | |
| OpenMPScheduleClauseKind | getScheduleKind () const |
| Get kind of the clause. | |
| SourceLocation | getLParenLoc () |
| Get location of '('. | |
| SourceLocation | getScheduleKindLoc () |
| Get kind location. | |
| SourceLocation | getCommaLoc () |
| Get location of ','. | |
| Expr * | getChunkSize () |
| Get chunk size. | |
| Expr * | getChunkSize () const |
| Get chunk size. | |
| StmtRange | children () |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
Friends | |
| class | OMPClauseReader |
This represents 'schedule' clause in the '#pragma omp ...' directive.
#pragma omp for schedule(static, 3)
In this example directive '#pragma omp for' has 'schedule' clause with arguments 'static' and '3'.
Definition at line 566 of file OpenMPClause.h.
| clang::OMPScheduleClause::OMPScheduleClause | ( | SourceLocation | StartLoc, |
| SourceLocation | LParenLoc, | ||
| SourceLocation | KLoc, | ||
| SourceLocation | CommaLoc, | ||
| SourceLocation | EndLoc, | ||
| OpenMPScheduleClauseKind | Kind, | ||
| Expr * | ChunkSize | ||
| ) | [inline] |
Build 'schedule' clause with schedule kind Kind and chunk size expression ChunkSize.
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| KLoc | Starting location of the argument. |
| CommaLoc | Location of ','. |
| EndLoc | Ending location of the clause. |
| Kind | Schedule kind. |
| ChunkSize | Chunk size. |
Definition at line 617 of file OpenMPClause.h.
| clang::OMPScheduleClause::OMPScheduleClause | ( | ) | [inline, explicit] |
Build an empty clause.
Definition at line 626 of file OpenMPClause.h.
| StmtRange clang::OMPScheduleClause::children | ( | ) | [inline] |
Reimplemented from clang::OMPClause.
Definition at line 653 of file OpenMPClause.h.
| static bool clang::OMPScheduleClause::classof | ( | const OMPClause * | T | ) | [inline, static] |
Reimplemented from clang::OMPClause.
Definition at line 649 of file OpenMPClause.h.
References clang::OMPClause::getClauseKind().
| Expr* clang::OMPScheduleClause::getChunkSize | ( | ) | [inline] |
Get chunk size.
Definition at line 644 of file OpenMPClause.h.
| Expr* clang::OMPScheduleClause::getChunkSize | ( | ) | const [inline] |
Get chunk size.
Definition at line 647 of file OpenMPClause.h.
| SourceLocation clang::OMPScheduleClause::getCommaLoc | ( | ) | [inline] |
Get location of ','.
Definition at line 641 of file OpenMPClause.h.
| SourceLocation clang::OMPScheduleClause::getLParenLoc | ( | ) | [inline] |
Get location of '('.
Definition at line 635 of file OpenMPClause.h.
| OpenMPScheduleClauseKind clang::OMPScheduleClause::getScheduleKind | ( | ) | const [inline] |
Get kind of the clause.
Definition at line 632 of file OpenMPClause.h.
Get kind location.
Definition at line 638 of file OpenMPClause.h.
friend class OMPClauseReader [friend] |
Definition at line 567 of file OpenMPClause.h.