clang
3.9.0
|
This is a basic class for representing single OpenMP clause. More...
#include <OpenMPClause.h>
Public Types | |
typedef StmtIterator | child_iterator |
typedef ConstStmtIterator | const_child_iterator |
typedef llvm::iterator_range < child_iterator > | child_range |
typedef llvm::iterator_range < const_child_iterator > | const_child_range |
Public Member Functions | |
SourceLocation | getLocStart () const |
Returns the starting location of the clause. More... | |
SourceLocation | getLocEnd () const |
Returns the ending location of the clause. More... | |
void | setLocStart (SourceLocation Loc) |
Sets the starting location of the clause. More... | |
void | setLocEnd (SourceLocation Loc) |
Sets the ending location of the clause. More... | |
OpenMPClauseKind | getClauseKind () const |
Returns kind of OpenMP clause (private, shared, reduction, etc.). More... | |
bool | isImplicit () const |
child_range | children () |
const_child_range | 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.
Definition at line 60 of file OpenMPClause.h.
typedef llvm::iterator_range<child_iterator> clang::OMPClause::child_range |
Definition at line 62 of file OpenMPClause.h.
Definition at line 61 of file OpenMPClause.h.
typedef llvm::iterator_range<const_child_iterator> clang::OMPClause::const_child_range |
Definition at line 63 of file OpenMPClause.h.
|
inlineprotected |
Definition at line 41 of file OpenMPClause.h.
OMPClause::child_range OMPClause::children | ( | ) |
Definition at line 20 of file OpenMPClause.cpp.
References getClauseKind().
Referenced by children().
|
inline |
Definition at line 66 of file OpenMPClause.h.
References children().
Definition at line 70 of file OpenMPClause.h.
|
inline |
Returns kind of OpenMP clause (private, shared, reduction, etc.).
Definition at line 56 of file OpenMPClause.h.
Referenced by checkGrainsizeNumTasksClauses(), children(), clang::OMPFinalClause::classof(), clang::OMPNumThreadsClause::classof(), clang::OMPSafelenClause::classof(), clang::OMPSimdlenClause::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::classof(), clang::OMPClauseWithPreInit::get(), clang::OMPClauseWithPostUpdate::get(), clang::TreeTransform< Derived >::TransformOMPClause(), clang::OMPClauseVisitorBase< ImplClass, make_const_ptr, RetTy >::Visit(), and clang::OMPClauseWriter::writeClause().
|
inline |
Returns the ending location of the clause.
Definition at line 48 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd(), and clang::OMPClauseWriter::writeClause().
|
inline |
Returns the starting location of the clause.
Definition at line 46 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPOrderedDirective(), clang::Sema::ActOnOpenMPRegionEnd(), clang::Sema::ActOnOpenMPSingleDirective(), checkGrainsizeNumTasksClauses(), and clang::OMPClauseWriter::writeClause().
|
inline |
Definition at line 58 of file OpenMPClause.h.
References clang::SourceLocation::isInvalid().
|
inline |
Sets the ending location of the clause.
Definition at line 53 of file OpenMPClause.h.
Referenced by clang::OMPClauseReader::readClause().
|
inline |
Sets the starting location of the clause.
Definition at line 51 of file OpenMPClause.h.
Referenced by clang::OMPClauseReader::readClause().