clang API Documentation

Static Public Member Functions | Friends
clang::OMPOrderedDirective Class Reference

This represents '#pragma omp ordered' directive. More...

#include <StmtOpenMP.h>

Inheritance diagram for clang::OMPOrderedDirective:
Inheritance graph
[legend]
Collaboration diagram for clang::OMPOrderedDirective:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static OMPOrderedDirectiveCreate (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, Stmt *AssociatedStmt)
 Creates directive.
static OMPOrderedDirectiveCreateEmpty (const ASTContext &C, EmptyShell)
 Creates an empty directive.
static bool classof (const Stmt *T)

Friends

class ASTStmtReader

Detailed Description

This represents '#pragma omp ordered' directive.

 #pragma omp ordered

Definition at line 1383 of file StmtOpenMP.h.


Member Function Documentation

static bool clang::OMPOrderedDirective::classof ( const Stmt T) [inline, static]

Reimplemented from clang::OMPExecutableDirective.

Definition at line 1419 of file StmtOpenMP.h.

References clang::Stmt::getStmtClass().

OMPOrderedDirective * OMPOrderedDirective::Create ( const ASTContext C,
SourceLocation  StartLoc,
SourceLocation  EndLoc,
Stmt AssociatedStmt 
) [static]

Creates directive.

Parameters:
CAST context.
StartLocStarting location of the directive kind.
EndLocEnding Location of the directive.
AssociatedStmtStatement, associated with the directive.

Definition at line 1907 of file Stmt.cpp.

References clang::ASTContext::Allocate(), and clang::OMPExecutableDirective::setAssociatedStmt().

Referenced by clang::Sema::ActOnOpenMPOrderedDirective().

Creates an empty directive.

Parameters:
CAST context.

Definition at line 1919 of file Stmt.cpp.

References clang::ASTContext::Allocate().


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::OMPExecutableDirective.

Definition at line 1384 of file StmtOpenMP.h.


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