class OMPBarrierDirective

Declaration

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

Description

This represents '#pragma omp barrier' directive.

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

Inherits from: OMPExecutableDirective

Member Variables

Inherited from OMPExecutableDirective:

protected Data = nullptr

Inherited from Stmt:

protected

Method Overview

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

Inherited from OMPExecutableDirective:

Inherited from Stmt:

Methods

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

Description

Creates directive.

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

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::OMPBarrierDirective* CreateEmpty(
    const clang::ASTContext& C,
    clang::Stmt::EmptyShell)

Description

Creates an empty directive.

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

Parameters

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

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

Description

Build directive with the given start and end location.

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

Parameters

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

OMPBarrierDirective()

Description

Build an empty directive.

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

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

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

Parameters

const clang::Stmt* T