class OMPTaskwaitDirective

Declaration

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

Description

This represents '#pragma omp taskwait' directive.

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

Inherits from: OMPExecutableDirective

Member Variables

Inherited from OMPExecutableDirective:

protected Data = nullptr

Inherited from Stmt:

protected

Method Overview

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

Inherited from OMPExecutableDirective:

Inherited from Stmt:

Methods

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

Description

Creates directive.

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

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.

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

Description

Creates an empty directive.

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

Parameters

const clang::ASTContext& C
AST context.
unsigned int NumClauses
Number of clauses.
clang::Stmt::EmptyShell

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

Description

Build directive with the given start and end location.

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

Parameters

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

OMPTaskwaitDirective()

Description

Build an empty directive.

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

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

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

Parameters

const clang::Stmt* T