clang 24.0.0git
OMPDepobjDirective Class Referencefinal

This represents '#pragma omp depobj' directive. More...

#include "clang/AST/StmtOpenMP.h"

Inheritance diagram for OMPDepobjDirective:
[legend]

Static Public Member Functions

static OMPDepobjDirectiveCreate (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef< OMPClause * > Clauses)
 Creates directive with a list of Clauses.
static OMPDepobjDirectiveCreateEmpty (const ASTContext &C, unsigned NumClauses, EmptyShell)
 Creates an empty directive with the place for NumClauses clauses.
static bool classof (const Stmt *T)

Friends

class ASTStmtReader
class OMPExecutableDirective

Detailed Description

This represents '#pragma omp depobj' directive.

#pragma omp depobj(a) depend(in:x,y)

In this example directive '#pragma omp depobj' initializes a depobj object 'a' with dependence type 'in' and a list with 'x' and 'y' locators.

Definition at line 2921 of file StmtOpenMP.h.

Member Function Documentation

◆ classof()

bool OMPDepobjDirective::classof ( const Stmt * T)
inlinestatic

Definition at line 2962 of file StmtOpenMP.h.

◆ Create()

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

Creates directive with a list of Clauses.

Parameters
CAST context.
StartLocStarting location of the directive kind.
EndLocEnding Location of the directive.
ClausesList of clauses.

Definition at line 1082 of file StmtOpenMP.cpp.

References clang::C.

Referenced by clang::SemaOpenMP::ActOnOpenMPDepobjDirective().

◆ CreateEmpty()

OMPDepobjDirective * OMPDepobjDirective::CreateEmpty ( const ASTContext & C,
unsigned NumClauses,
EmptyShell  )
static

Creates an empty directive with the place for NumClauses clauses.

Parameters
CAST context.
NumClausesNumber of clauses.

Definition at line 1091 of file StmtOpenMP.cpp.

References clang::C.

◆ ASTStmtReader

friend class ASTStmtReader
friend

Definition at line 2922 of file StmtOpenMP.h.

References ASTStmtReader.

Referenced by ASTStmtReader.

◆ OMPExecutableDirective

friend class OMPExecutableDirective
friend

Definition at line 2923 of file StmtOpenMP.h.

References OMPExecutableDirective.

Referenced by OMPExecutableDirective.


The documentation for this class was generated from the following files: