clang API Documentation
This is a basic class for representing single OpenMP clause. More...
#include <OpenMPClause.h>
Public Member Functions | |
SourceLocation | getLocStart () const |
Returns the starting location of the clause. | |
SourceLocation | getLocEnd () 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 |
StmtRange | children () |
ConstStmtRange | children () const |
Static Public Member Functions | |
static bool | classof (const OMPClause *) |
Protected Member Functions | |
OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) |
This is a basic class for representing single OpenMP clause.
Definition at line 32 of file OpenMPClause.h.
clang::OMPClause::OMPClause | ( | OpenMPClauseKind | K, |
SourceLocation | StartLoc, | ||
SourceLocation | EndLoc | ||
) | [inline, protected] |
Definition at line 41 of file OpenMPClause.h.
Reimplemented in clang::OMPFlushClause, clang::OMPCopyprivateClause, clang::OMPCopyinClause, clang::OMPAlignedClause, clang::OMPLinearClause, clang::OMPReductionClause, clang::OMPSharedClause, clang::OMPLastprivateClause, clang::OMPFirstprivateClause, clang::OMPPrivateClause, clang::OMPSeqCstClause, clang::OMPCaptureClause, clang::OMPUpdateClause, clang::OMPWriteClause, clang::OMPReadClause, clang::OMPMergeableClause, clang::OMPUntiedClause, clang::OMPNowaitClause, clang::OMPOrderedClause, clang::OMPScheduleClause, clang::OMPProcBindClause, clang::OMPDefaultClause, clang::OMPCollapseClause, clang::OMPSafelenClause, clang::OMPNumThreadsClause, clang::OMPFinalClause, and clang::OMPIfClause.
Referenced by children().
ConstStmtRange clang::OMPClause::children | ( | ) | const [inline] |
Definition at line 61 of file OpenMPClause.h.
References children().
static bool clang::OMPClause::classof | ( | const OMPClause * | ) | [inline, static] |
Reimplemented in clang::OMPFlushClause, clang::OMPCopyprivateClause, clang::OMPCopyinClause, clang::OMPAlignedClause, clang::OMPLinearClause, clang::OMPReductionClause, clang::OMPSharedClause, clang::OMPLastprivateClause, clang::OMPFirstprivateClause, clang::OMPPrivateClause, clang::OMPSeqCstClause, clang::OMPCaptureClause, clang::OMPUpdateClause, clang::OMPWriteClause, clang::OMPReadClause, clang::OMPMergeableClause, clang::OMPUntiedClause, clang::OMPNowaitClause, clang::OMPOrderedClause, clang::OMPScheduleClause, clang::OMPProcBindClause, clang::OMPDefaultClause, clang::OMPCollapseClause, clang::OMPSafelenClause, clang::OMPNumThreadsClause, clang::OMPFinalClause, and clang::OMPIfClause.
Definition at line 64 of file OpenMPClause.h.
OpenMPClauseKind clang::OMPClause::getClauseKind | ( | ) | const [inline] |
Returns kind of OpenMP clause (private, shared, reduction, etc.).
Definition at line 56 of file OpenMPClause.h.
Referenced by clang::OMPIfClause::classof(), clang::OMPFinalClause::classof(), clang::OMPNumThreadsClause::classof(), clang::OMPSafelenClause::classof(), clang::OMPCollapseClause::classof(), clang::OMPDefaultClause::classof(), clang::OMPProcBindClause::classof(), clang::OMPScheduleClause::classof(), clang::OMPOrderedClause::classof(), clang::OMPNowaitClause::classof(), clang::OMPUntiedClause::classof(), clang::OMPMergeableClause::classof(), clang::OMPReadClause::classof(), clang::OMPWriteClause::classof(), clang::OMPUpdateClause::classof(), clang::OMPCaptureClause::classof(), clang::OMPSeqCstClause::classof(), clang::OMPPrivateClause::classof(), clang::OMPFirstprivateClause::classof(), clang::OMPLastprivateClause::classof(), clang::OMPSharedClause::classof(), clang::OMPReductionClause::classof(), clang::OMPLinearClause::classof(), clang::OMPAlignedClause::classof(), clang::OMPCopyinClause::classof(), clang::OMPCopyprivateClause::classof(), clang::OMPFlushClause::classof(), and clang::OMPClauseWriter::writeClause().
SourceLocation clang::OMPClause::getLocEnd | ( | ) | const [inline] |
Returns the ending location of the clause.
Definition at line 48 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::writeClause().
SourceLocation clang::OMPClause::getLocStart | ( | ) | const [inline] |
Returns the starting location of the clause.
Definition at line 46 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::writeClause().
bool clang::OMPClause::isImplicit | ( | ) | const [inline] |
Definition at line 58 of file OpenMPClause.h.
References clang::SourceLocation::isInvalid().
void clang::OMPClause::setLocEnd | ( | SourceLocation | Loc | ) | [inline] |
Sets the ending location of the clause.
Definition at line 53 of file OpenMPClause.h.
Referenced by clang::OMPClauseReader::readClause().
void clang::OMPClause::setLocStart | ( | SourceLocation | Loc | ) | [inline] |
Sets the starting location of the clause.
Definition at line 51 of file OpenMPClause.h.
Referenced by clang::OMPClauseReader::readClause().