clang 24.0.0git
OMPTaskyieldDirective Class Reference

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

#include "clang/AST/StmtOpenMP.h"

Inheritance diagram for OMPTaskyieldDirective:
[legend]

Static Public Member Functions

static OMPTaskyieldDirectiveCreate (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc)
 Creates directive.
static OMPTaskyieldDirectiveCreateEmpty (const ASTContext &C, EmptyShell)
 Creates an empty directive.
static bool classof (const Stmt *T)

Friends

class ASTStmtReader
class OMPExecutableDirective

Detailed Description

This represents '#pragma omp taskyield' directive.

#pragma omp taskyield

Definition at line 2659 of file StmtOpenMP.h.

Member Function Documentation

◆ classof()

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

Definition at line 2694 of file StmtOpenMP.h.

◆ Create()

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

Creates directive.

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

Definition at line 952 of file StmtOpenMP.cpp.

References clang::C.

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

◆ CreateEmpty()

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

Creates an empty directive.

Parameters
CAST context.

Definition at line 958 of file StmtOpenMP.cpp.

References clang::C.

◆ ASTStmtReader

friend class ASTStmtReader
friend

Definition at line 2660 of file StmtOpenMP.h.

References ASTStmtReader.

Referenced by ASTStmtReader.

◆ OMPExecutableDirective

friend class OMPExecutableDirective
friend

Definition at line 2661 of file StmtOpenMP.h.

References OMPExecutableDirective.

Referenced by OMPExecutableDirective.


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