clang
6.0.0
|
This is a basic class for representing single OpenMP clause. More...
#include "clang/AST/OpenMPClause.h"
Public Types | |
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 > |
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 51 of file OpenMPClause.h.
Definition at line 83 of file OpenMPClause.h.
using clang::OMPClause::child_range = llvm::iterator_range<child_iterator> |
Definition at line 85 of file OpenMPClause.h.
Definition at line 84 of file OpenMPClause.h.
using clang::OMPClause::const_child_range = llvm::iterator_range<const_child_iterator> |
Definition at line 86 of file OpenMPClause.h.
|
inlineprotected |
Definition at line 62 of file OpenMPClause.h.
OMPClause::child_range OMPClause::children | ( | ) |
Definition at line 26 of file OpenMPClause.cpp.
References getClauseKind().
Referenced by clang::Sema::ActOnOpenMPRegionEnd(), and children().
|
inline |
Definition at line 89 of file OpenMPClause.h.
References children().
Definition at line 94 of file OpenMPClause.h.
|
inline |
Returns kind of OpenMP clause (private, shared, reduction, etc.).
Definition at line 79 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd(), clang::Sema::ActOnOpenMPSingleDirective(), checkGrainsizeNumTasksClauses(), checkSimdlenSafelenSpecified(), children(), clang::OMPIfClause::classof(), 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::OMPTaskReductionClause::classof(), clang::OMPInReductionClause::classof(), clang::classof(), clang::OMPClauseWithPreInit::get(), clang::OMPClauseWithPostUpdate::get(), hasClauses(), and clang::OMPClauseWriter::writeClause().
|
inline |
Returns the ending location of the clause.
Definition at line 70 of file OpenMPClause.h.
Referenced by checkReductionClauseWithNogroup(), and clang::OMPClauseWriter::writeClause().
|
inline |
Returns the starting location of the clause.
Definition at line 67 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPOrderedDirective(), clang::Sema::ActOnOpenMPSingleDirective(), checkGrainsizeNumTasksClauses(), checkReductionClauseWithNogroup(), and clang::OMPClauseWriter::writeClause().
|
inline |
Definition at line 81 of file OpenMPClause.h.
References clang::SourceLocation::isInvalid().
|
inline |
Sets the ending location of the clause.
Definition at line 76 of file OpenMPClause.h.
|
inline |
Sets the starting location of the clause.
Definition at line 73 of file OpenMPClause.h.