clang 20.0.0git
|
This is a basic class for representing single OpenMP declarative directive. More...
#include "clang/AST/DeclOpenMP.h"
Public Member Functions | |
unsigned | getNumClauses () const |
Get number of clauses. | |
OMPClause * | getClause (unsigned I) const |
Returns specified clause. | |
ArrayRef< OMPClause * > | clauses () const |
Protected Member Functions | |
template<typename... Params> | |
OMPDeclarativeDirective (Params &&... P) | |
Build instance of directive. | |
Static Protected Member Functions | |
template<typename T , typename... Params> | |
static T * | createDirective (const ASTContext &C, DeclContext *DC, ArrayRef< OMPClause * > Clauses, unsigned NumChildren, Params &&... P) |
template<typename T , typename... Params> | |
static T * | createEmptyDirective (const ASTContext &C, GlobalDeclID ID, unsigned NumClauses, unsigned NumChildren, Params &&... P) |
static size_t | size (unsigned NumClauses, unsigned NumChildren) |
Protected Attributes | |
OMPChildren * | Data = nullptr |
Data, associated with the directive. | |
Friends | |
class | ASTDeclReader |
class | ASTDeclWriter |
This is a basic class for representing single OpenMP declarative directive.
Definition at line 30 of file DeclOpenMP.h.
|
inlineprotected |
Build instance of directive.
Definition at line 47 of file DeclOpenMP.h.
|
inline |
Definition at line 91 of file DeclOpenMP.h.
References clang::OMPDeclarativeDirective< U >::Data, and clang::OMPChildren::getClauses().
Referenced by clang::OMPDeclarativeDirective< U >::getClause().
|
inlinestaticprotected |
Definition at line 50 of file DeclOpenMP.h.
References clang::C, P, clang::OMPDeclarativeDirective< U >::size(), and clang::T.
|
inlinestaticprotected |
Definition at line 62 of file DeclOpenMP.h.
References clang::C, ID, P, clang::OMPDeclarativeDirective< U >::size(), and clang::T.
|
inline |
Returns specified clause.
I | Number of clause. |
Definition at line 89 of file DeclOpenMP.h.
References clang::OMPDeclarativeDirective< U >::clauses().
|
inline |
Get number of clauses.
Definition at line 79 of file DeclOpenMP.h.
References clang::OMPDeclarativeDirective< U >::Data, and clang::OMPChildren::getNumClauses().
|
inlinestaticprotected |
Definition at line 72 of file DeclOpenMP.h.
Referenced by clang::OMPDeclarativeDirective< U >::createDirective(), and clang::OMPDeclarativeDirective< U >::createEmptyDirective().
|
friend |
Definition at line 31 of file DeclOpenMP.h.
|
friend |
Definition at line 32 of file DeclOpenMP.h.
|
protected |
Data, associated with the directive.
Definition at line 43 of file DeclOpenMP.h.
Referenced by clang::OMPDeclarativeDirective< U >::clauses(), and clang::OMPDeclarativeDirective< U >::getNumClauses().