class OMPTaskyieldDirective

Declaration

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

Description

This represents '#pragma omp taskyield' directive.

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

Inherits from: OMPExecutableDirective

Member Variables

Inherited from OMPExecutableDirective:

protected Data = nullptr

Inherited from Stmt:

protected

Method Overview

  • public static clang::OMPTaskyieldDirective * Create(const clang::ASTContext & C, clang::SourceLocation StartLoc, clang::SourceLocation EndLoc)
  • public static clang::OMPTaskyieldDirective * CreateEmpty(const clang::ASTContext & C, clang::Stmt::EmptyShell)
  • private OMPTaskyieldDirective(clang::SourceLocation StartLoc, clang::SourceLocation EndLoc)
  • private OMPTaskyieldDirective()
  • public static bool classof(const clang::Stmt * T)

Inherited from OMPExecutableDirective:

Inherited from Stmt:

Methods

static clang::OMPTaskyieldDirective* Create(
    const clang::ASTContext& C,
    clang::SourceLocation StartLoc,
    clang::SourceLocation EndLoc)

Description

Creates directive.

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

Parameters

const clang::ASTContext& C
AST context.
clang::SourceLocation StartLoc
Starting location of the directive kind.
clang::SourceLocation EndLoc
Ending Location of the directive.

static clang::OMPTaskyieldDirective* CreateEmpty(
    const clang::ASTContext& C,
    clang::Stmt::EmptyShell)

Description

Creates an empty directive.

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

Parameters

const clang::ASTContext& C
AST context.
clang::Stmt::EmptyShell

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

Description

Build directive with the given start and end location.

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

Parameters

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

OMPTaskyieldDirective()

Description

Build an empty directive.

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

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

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

Parameters

const clang::Stmt* T