clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
clang::OMPClause Class Reference

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

#include <OpenMPClause.h>

Inheritance diagram for clang::OMPClause:
Inheritance graph
[legend]

List of all members.

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)

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 
) [inline, protected]

Definition at line 41 of file OpenMPClause.h.


Member Function Documentation

Definition at line 61 of file OpenMPClause.h.

References children().

static bool clang::OMPClause::classof ( const OMPClause ) [inline, static]

Returns the ending location of the clause.

Definition at line 48 of file OpenMPClause.h.

Referenced by clang::OMPClauseWriter::writeClause().

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().

Sets the ending location of the clause.

Definition at line 53 of file OpenMPClause.h.

Referenced by clang::OMPClauseReader::readClause().

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 file: