class OMPMasterDirective

Declaration

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

Description

This represents '#pragma omp master' directive.

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

Inherits from: OMPExecutableDirective

Member Variables

Inherited from OMPExecutableDirective:

protected Data = nullptr

Inherited from Stmt:

protected

Method Overview

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

Inherited from OMPExecutableDirective:

Inherited from Stmt:

Methods

static clang::OMPMasterDirective* Create(
    const clang::ASTContext& C,
    clang::SourceLocation StartLoc,
    clang::SourceLocation EndLoc,
    clang::Stmt* AssociatedStmt)

Description

Creates directive.

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

Parameters

const clang::ASTContext& C
AST context.
clang::SourceLocation StartLoc
Starting location of the directive kind.
clang::SourceLocation EndLoc
Ending Location of the directive.
clang::Stmt* AssociatedStmt
Statement, associated with the directive.

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

Description

Creates an empty directive.

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

Parameters

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

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

Description

Build directive with the given start and end location.

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

Parameters

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

OMPMasterDirective()

Description

Build an empty directive.

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

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

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

Parameters

const clang::Stmt* T