clang  3.7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
clang::OMPClause Class Reference

This is a basic class for representing single OpenMP clause. More...

#include <OpenMPClause.h>

Inheritance diagram for clang::OMPClause:
[legend]

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
 
StmtRange children ()
 
ConstStmtRange children () const
 

Static Public Member Functions

static bool classof (const OMPClause *)
 

Protected Member Functions

 OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc)
 

Detailed Description

This is a basic class for representing single OpenMP clause.

Definition at line 32 of file OpenMPClause.h.

Constructor & Destructor Documentation

clang::OMPClause::OMPClause ( OpenMPClauseKind  K,
SourceLocation  StartLoc,
SourceLocation  EndLoc 
)
inlineprotected

Definition at line 41 of file OpenMPClause.h.

Member Function Documentation

StmtRange OMPClause::children ( )

Definition at line 1176 of file Stmt.cpp.

References getClauseKind().

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 )
inlinestatic

Definition at line 64 of file OpenMPClause.h.

OpenMPClauseKind clang::OMPClause::getClauseKind ( ) const
inline
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::Sema::ActOnOpenMPSingleDirective(), and 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().


The documentation for this class was generated from the following files: