class OMPThreadPrivateDecl
Declaration
class OMPThreadPrivateDecl : public OMPDeclarativeDirective { /* full declaration omitted */ };
Description
This represents '#pragma omp threadprivate ...' directive. For example, in the following, both 'a' and 'A::b' are threadprivate:
Declared at: clang/include/clang/AST/DeclOpenMP.h:110
Inherits from: OMPDeclarativeDirective
Method Overview
- public static clang::OMPThreadPrivateDecl * Create(clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation L, ArrayRef<clang::Expr *> VL)
- public static clang::OMPThreadPrivateDecl * CreateDeserialized(clang::ASTContext & C, unsigned int ID, unsigned int N)
- private OMPThreadPrivateDecl(clang::DeclContext * DC = nullptr, clang::SourceLocation L = clang::SourceLocation())
- private virtual void anchor()
- public static bool classof(const clang::Decl * D)
- public static bool classofKind(clang::Decl::Kind K)
- private MutableArrayRef<clang::Expr *> getVars()
- private ArrayRef<const clang::Expr *> getVars() const
- private void setVars(ArrayRef<clang::Expr *> VL)
- public clang::OMPThreadPrivateDecl::varlist_iterator varlist_begin()
- public clang::OMPThreadPrivateDecl::varlist_const_iterator varlist_begin() const
- public bool varlist_empty() const
- public clang::OMPThreadPrivateDecl::varlist_iterator varlist_end()
- public clang::OMPThreadPrivateDecl::varlist_const_iterator varlist_end() const
- public unsigned int varlist_size() const
- public clang::OMPThreadPrivateDecl::varlist_range varlists()
- public clang::OMPThreadPrivateDecl::varlist_const_range varlists() const
Methods
¶static clang::OMPThreadPrivateDecl* Create(
clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation L,
ArrayRef<clang::Expr*> VL)
static clang::OMPThreadPrivateDecl* Create(
clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation L,
ArrayRef<clang::Expr*> VL)
Declared at: clang/include/clang/AST/DeclOpenMP.h:132
Parameters
- clang::ASTContext& C
- clang::DeclContext* DC
- clang::SourceLocation L
- ArrayRef<clang::Expr*> VL
¶static clang::OMPThreadPrivateDecl*
CreateDeserialized(clang::ASTContext& C,
unsigned int ID,
unsigned int N)
static clang::OMPThreadPrivateDecl*
CreateDeserialized(clang::ASTContext& C,
unsigned int ID,
unsigned int N)
Declared at: clang/include/clang/AST/DeclOpenMP.h:135
Parameters
- clang::ASTContext& C
- unsigned int ID
- unsigned int N
¶OMPThreadPrivateDecl(
clang::DeclContext* DC = nullptr,
clang::SourceLocation L =
clang::SourceLocation())
OMPThreadPrivateDecl(
clang::DeclContext* DC = nullptr,
clang::SourceLocation L =
clang::SourceLocation())
Declared at: clang/include/clang/AST/DeclOpenMP.h:115
Parameters
- clang::DeclContext* DC = nullptr
- clang::SourceLocation L = clang::SourceLocation()
¶virtual void anchor()
virtual void anchor()
Declared at: clang/include/clang/AST/DeclOpenMP.h:113
¶static bool classof(const clang::Decl* D)
static bool classof(const clang::Decl* D)
Declared at: clang/include/clang/AST/DeclOpenMP.h:157
Parameters
- const clang::Decl* D
¶static bool classofKind(clang::Decl::Kind K)
static bool classofKind(clang::Decl::Kind K)
Declared at: clang/include/clang/AST/DeclOpenMP.h:158
Parameters
- clang::Decl::Kind K
¶MutableArrayRef<clang::Expr*> getVars()
MutableArrayRef<clang::Expr*> getVars()
Declared at: clang/include/clang/AST/DeclOpenMP.h:124
¶ArrayRef<const clang::Expr*> getVars() const
ArrayRef<const clang::Expr*> getVars() const
Declared at: clang/include/clang/AST/DeclOpenMP.h:119
¶void setVars(ArrayRef<clang::Expr*> VL)
void setVars(ArrayRef<clang::Expr*> VL)
Declared at: clang/include/clang/AST/DeclOpenMP.h:129
Parameters
- ArrayRef<clang::Expr*> VL
¶clang::OMPThreadPrivateDecl::varlist_iterator
varlist_begin()
clang::OMPThreadPrivateDecl::varlist_iterator
varlist_begin()
Declared at: clang/include/clang/AST/DeclOpenMP.h:152
¶clang::OMPThreadPrivateDecl::
varlist_const_iterator
varlist_begin() const
clang::OMPThreadPrivateDecl::
varlist_const_iterator
varlist_begin() const
Declared at: clang/include/clang/AST/DeclOpenMP.h:154
¶bool varlist_empty() const
bool varlist_empty() const
Declared at: clang/include/clang/AST/DeclOpenMP.h:144
¶clang::OMPThreadPrivateDecl::varlist_iterator
varlist_end()
clang::OMPThreadPrivateDecl::varlist_iterator
varlist_end()
Declared at: clang/include/clang/AST/DeclOpenMP.h:153
¶clang::OMPThreadPrivateDecl::
varlist_const_iterator
varlist_end() const
clang::OMPThreadPrivateDecl::
varlist_const_iterator
varlist_end() const
Declared at: clang/include/clang/AST/DeclOpenMP.h:155
¶unsigned int varlist_size() const
unsigned int varlist_size() const
Declared at: clang/include/clang/AST/DeclOpenMP.h:143
¶clang::OMPThreadPrivateDecl::varlist_range
varlists()
clang::OMPThreadPrivateDecl::varlist_range
varlists()
Declared at: clang/include/clang/AST/DeclOpenMP.h:146
¶clang::OMPThreadPrivateDecl::varlist_const_range
varlists() const
clang::OMPThreadPrivateDecl::varlist_const_range
varlists() const
Declared at: clang/include/clang/AST/DeclOpenMP.h:149