class OMPMaskedDirective

Declaration

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

Description

This represents '#pragma omp masked' directive. This example shows a directive '#pragma omp masked' with a filter clause with variable 'tid'.

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

Inherits from: OMPExecutableDirective

Member Variables

Inherited from OMPExecutableDirective:

protected Data = nullptr

Inherited from Stmt:

protected

Method Overview

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

Inherited from OMPExecutableDirective:

Inherited from Stmt:

Methods

static clang::OMPMaskedDirective* 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:5847

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
clang::Stmt* AssociatedStmt
Statement, associated with the directive.

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

Description

Creates an empty directive.

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

Parameters

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

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

Description

Build directive with the given start and end location.

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

Parameters

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

OMPMaskedDirective()

Description

Build an empty directive.

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

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

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

Parameters

const clang::Stmt* T