clang API Documentation

Static Public Member Functions | Friends
clang::OMPTaskyieldDirective Class Reference

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

#include <StmtOpenMP.h>

Inheritance diagram for clang::OMPTaskyieldDirective:
Inheritance graph
[legend]
Collaboration diagram for clang::OMPTaskyieldDirective:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This represents '#pragma omp taskyield' directive.

 #pragma omp taskyield

Definition at line 1192 of file StmtOpenMP.h.


Member Function Documentation

static bool clang::OMPTaskyieldDirective::classof ( const Stmt T) [inline, static]

Reimplemented from clang::OMPExecutableDirective.

Definition at line 1225 of file StmtOpenMP.h.

References clang::Stmt::getStmtClass().

Creates directive.

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

Definition at line 1842 of file Stmt.cpp.

References clang::ASTContext::Allocate().

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

Creates an empty directive.

Parameters:
CAST context.

Definition at line 1851 of file Stmt.cpp.

References clang::ASTContext::Allocate().


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::OMPExecutableDirective.

Definition at line 1193 of file StmtOpenMP.h.


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