clang API Documentation
This represents '#pragma omp barrier' directive. More...
#include <StmtOpenMP.h>
Static Public Member Functions | |
static OMPBarrierDirective * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc) |
Creates directive. | |
static OMPBarrierDirective * | CreateEmpty (const ASTContext &C, EmptyShell) |
Creates an empty directive. | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
This represents '#pragma omp barrier' directive.
#pragma omp barrier
Definition at line 1236 of file StmtOpenMP.h.
static bool clang::OMPBarrierDirective::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::OMPExecutableDirective.
Definition at line 1269 of file StmtOpenMP.h.
References clang::Stmt::getStmtClass().
OMPBarrierDirective * OMPBarrierDirective::Create | ( | const ASTContext & | C, |
SourceLocation | StartLoc, | ||
SourceLocation | EndLoc | ||
) | [static] |
Creates directive.
C | AST context. |
StartLoc | Starting location of the directive kind. |
EndLoc | Ending Location of the directive. |
Definition at line 1857 of file Stmt.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnOpenMPBarrierDirective().
OMPBarrierDirective * OMPBarrierDirective::CreateEmpty | ( | const ASTContext & | C, |
EmptyShell | |||
) | [static] |
Creates an empty directive.
C | AST context. |
Definition at line 1865 of file Stmt.cpp.
References clang::ASTContext::Allocate().
friend class ASTStmtReader [friend] |
Reimplemented from clang::OMPExecutableDirective.
Definition at line 1237 of file StmtOpenMP.h.