|
clang 24.0.0git
|
This represents '#pragma omp metadirective' directive. More...
#include "clang/AST/StmtOpenMP.h"
Public Member Functions | |
| unsigned | getNumVariants () const |
| bool | hasImplicitOtherwise () const |
| ArrayRef< Stmt * > | variants () const |
| ArrayRef< Expr * > | conditions () const |
| ArrayRef< OMPTraitInfo * > | traitInfos () const |
| child_range | children () |
| const_child_range | children () const |
Static Public Member Functions | |
| static OMPMetaDirective * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef< Stmt * > Variants, ArrayRef< Expr * > Conditions, ArrayRef< OMPTraitInfo * > TraitInfos, bool HasImplicitOtherwise) |
| static OMPMetaDirective * | CreateEmpty (const ASTContext &C, unsigned NumVariants, EmptyShell) |
| static bool | classof (const Stmt *T) |
Friends | |
| class | ASTStmtReader |
| class | OMPExecutableDirective |
This represents '#pragma omp metadirective' directive.
In this example directive '#pragma omp metadirective' has clauses 'when' with a dynamic user condition to check if a variable 'N > 10'. The directive holds one variant per 'when' or 'otherwise' clause: the complete directive (or the plain associated statement), its condition and its context selectors.
Definition at line 6624 of file StmtOpenMP.h.
|
inline |
|
inline |
Definition at line 6695 of file StmtOpenMP.h.
References children().
|
inlinestatic |
Definition at line 6699 of file StmtOpenMP.h.
|
inline |
Definition at line 6686 of file StmtOpenMP.h.
|
static |
Definition at line 398 of file StmtOpenMP.cpp.
References clang::C.
Referenced by clang::SemaOpenMP::ActOnOpenMPMetaDirective().
|
static |
Definition at line 413 of file StmtOpenMP.cpp.
References clang::C.
|
inline |
Definition at line 6683 of file StmtOpenMP.h.
|
inline |
Definition at line 6684 of file StmtOpenMP.h.
|
inline |
Definition at line 6687 of file StmtOpenMP.h.
|
inline |
Definition at line 6685 of file StmtOpenMP.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitOMPMetaDirective().
|
friend |
Definition at line 6625 of file StmtOpenMP.h.
References ASTStmtReader.
Referenced by ASTStmtReader.
|
friend |
Definition at line 6626 of file StmtOpenMP.h.
References OMPExecutableDirective.
Referenced by OMPExecutableDirective.