class OMPOrderedDirective

Declaration

class OMPOrderedDirective : public OMPExecutableDirective { /* full declaration omitted */ };

Description

This represents '#pragma omp ordered' directive.

Declared at: clang/include/clang/AST/StmtOpenMP.h:2840

Inherits from: OMPExecutableDirective

Member Variables

Inherited from OMPExecutableDirective:

protected Data = nullptr

Inherited from Stmt:

protected

Method Overview

  • public static clang::OMPOrderedDirective * Create(const clang::ASTContext & C, clang::SourceLocation StartLoc, clang::SourceLocation EndLoc, ArrayRef<clang::OMPClause *> Clauses, clang::Stmt * AssociatedStmt)
  • public static clang::OMPOrderedDirective * CreateEmpty(const clang::ASTContext & C, unsigned int NumClauses, bool IsStandalone, clang::Stmt::EmptyShell)
  • private OMPOrderedDirective(clang::SourceLocation StartLoc, clang::SourceLocation EndLoc)
  • private OMPOrderedDirective()
  • public static bool classof(const clang::Stmt * T)

Inherited from OMPExecutableDirective:

Inherited from Stmt:

Methods

static clang::OMPOrderedDirective* Create(
    const clang::ASTContext& C,
    clang::SourceLocation StartLoc,
    clang::SourceLocation EndLoc,
    ArrayRef<clang::OMPClause*> Clauses,
    clang::Stmt* AssociatedStmt)

Description

Creates directive.

Declared at: clang/include/clang/AST/StmtOpenMP.h:2869

Parameters

const clang::ASTContext& C
AST context.
clang::SourceLocation StartLoc
Starting location of the directive kind.
clang::SourceLocation EndLoc
Ending Location of the directive.
ArrayRef<clang::OMPClause*> Clauses
List of clauses.
clang::Stmt* AssociatedStmt
Statement, associated with the directive.

static clang::OMPOrderedDirective* CreateEmpty(
    const clang::ASTContext& C,
    unsigned int NumClauses,
    bool IsStandalone,
    clang::Stmt::EmptyShell)

Description

Creates an empty directive.

Declared at: clang/include/clang/AST/StmtOpenMP.h:2878

Parameters

const clang::ASTContext& C
AST context.
unsigned int NumClauses
Number of clauses.
bool IsStandalone
true, if the the standalone directive is created.
clang::Stmt::EmptyShell

OMPOrderedDirective(
    clang::SourceLocation StartLoc,
    clang::SourceLocation EndLoc)

Description

Build directive with the given start and end location.

Declared at: clang/include/clang/AST/StmtOpenMP.h:2848

Parameters

clang::SourceLocation StartLoc
Starting location of the directive kind.
clang::SourceLocation EndLoc
Ending location of the directive.

OMPOrderedDirective()

Description

Build an empty directive.

Declared at: clang/include/clang/AST/StmtOpenMP.h:2854

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/StmtOpenMP.h:2882

Parameters

const clang::Stmt* T