clang API Documentation
This represents '#pragma omp threadprivate ...' directive. For example, in the following, both 'a' and 'A::b' are threadprivate: More...
#include <DeclOpenMP.h>
Public Types | |
typedef MutableArrayRef< Expr * > ::iterator | varlist_iterator |
typedef ArrayRef< const Expr * > ::iterator | varlist_const_iterator |
typedef llvm::iterator_range < varlist_iterator > | varlist_range |
typedef llvm::iterator_range < varlist_const_iterator > | varlist_const_range |
Public Member Functions | |
unsigned | varlist_size () const |
bool | varlist_empty () const |
varlist_range | varlists () |
varlist_const_range | varlists () const |
varlist_iterator | varlist_begin () |
varlist_iterator | varlist_end () |
varlist_const_iterator | varlist_begin () const |
varlist_const_iterator | varlist_end () const |
Static Public Member Functions | |
static OMPThreadPrivateDecl * | Create (ASTContext &C, DeclContext *DC, SourceLocation L, ArrayRef< Expr * > VL) |
static OMPThreadPrivateDecl * | CreateDeserialized (ASTContext &C, unsigned ID, unsigned N) |
static bool | classof (const Decl *D) |
static bool | classofKind (Kind K) |
Friends | |
class | ASTDeclReader |
This represents '#pragma omp threadprivate ...' directive. For example, in the following, both 'a' and 'A::b' are threadprivate:
int a; #pragma omp threadprivate(a) struct A { static int b; #pragma omp threadprivate(b) };
Definition at line 36 of file DeclOpenMP.h.
typedef ArrayRef<const Expr *>::iterator clang::OMPThreadPrivateDecl::varlist_const_iterator |
Definition at line 66 of file DeclOpenMP.h.
typedef llvm::iterator_range<varlist_const_iterator> clang::OMPThreadPrivateDecl::varlist_const_range |
Definition at line 68 of file DeclOpenMP.h.
typedef MutableArrayRef<Expr *>::iterator clang::OMPThreadPrivateDecl::varlist_iterator |
Definition at line 65 of file DeclOpenMP.h.
typedef llvm::iterator_range<varlist_iterator> clang::OMPThreadPrivateDecl::varlist_range |
Definition at line 67 of file DeclOpenMP.h.
static bool clang::OMPThreadPrivateDecl::classof | ( | const Decl * | D | ) | [inline, static] |
Definition at line 84 of file DeclOpenMP.h.
References classofKind(), and clang::Decl::getKind().
static bool clang::OMPThreadPrivateDecl::classofKind | ( | Kind | K | ) | [inline, static] |
Reimplemented from clang::Decl.
Definition at line 85 of file DeclOpenMP.h.
Referenced by classof().
OMPThreadPrivateDecl * OMPThreadPrivateDecl::Create | ( | ASTContext & | C, |
DeclContext * | DC, | ||
SourceLocation | L, | ||
ArrayRef< Expr * > | VL | ||
) | [static] |
Definition at line 28 of file DeclOpenMP.cpp.
References AttributeLangSupport::C.
Referenced by clang::Sema::CheckOMPThreadPrivateDecl().
OMPThreadPrivateDecl * OMPThreadPrivateDecl::CreateDeserialized | ( | ASTContext & | C, |
unsigned | ID, | ||
unsigned | N | ||
) | [static] |
Definition at line 39 of file DeclOpenMP.cpp.
References AttributeLangSupport::C.
Definition at line 79 of file DeclOpenMP.h.
Referenced by varlists().
varlist_const_iterator clang::OMPThreadPrivateDecl::varlist_begin | ( | ) | const [inline] |
Definition at line 81 of file DeclOpenMP.h.
bool clang::OMPThreadPrivateDecl::varlist_empty | ( | ) | const [inline] |
Definition at line 71 of file DeclOpenMP.h.
varlist_iterator clang::OMPThreadPrivateDecl::varlist_end | ( | ) | [inline] |
Definition at line 80 of file DeclOpenMP.h.
Referenced by varlists().
varlist_const_iterator clang::OMPThreadPrivateDecl::varlist_end | ( | ) | const [inline] |
Definition at line 82 of file DeclOpenMP.h.
unsigned clang::OMPThreadPrivateDecl::varlist_size | ( | ) | const [inline] |
Definition at line 70 of file DeclOpenMP.h.
Referenced by clang::ASTDeclWriter::VisitOMPThreadPrivateDecl(), and clang::ASTDeclReader::VisitOMPThreadPrivateDecl().
varlist_range clang::OMPThreadPrivateDecl::varlists | ( | ) | [inline] |
Definition at line 73 of file DeclOpenMP.h.
References varlist_begin(), and varlist_end().
Referenced by clang::CodeGen::CodeGenModule::EmitOMPThreadPrivateDecl(), and clang::ASTDeclWriter::VisitOMPThreadPrivateDecl().
varlist_const_range clang::OMPThreadPrivateDecl::varlists | ( | ) | const [inline] |
Definition at line 76 of file DeclOpenMP.h.
References varlist_begin(), and varlist_end().
friend class ASTDeclReader [friend] |
Reimplemented from clang::Decl.
Definition at line 37 of file DeclOpenMP.h.