diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-27 10:37:06 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-27 10:37:06 +0000 |
commit | 3b54d86f4f0bedfffb6305b6f12283f9c62682db (patch) | |
tree | 04730260ddc52d65d4452d6e651786058fd92015 /include/clang/Sema/Sema.h | |
parent | 11a33cee19725d88b474912665c72835db03a87f (diff) | |
download | clang-3b54d86f4f0bedfffb6305b6f12283f9c62682db.tar.gz clang-3b54d86f4f0bedfffb6305b6f12283f9c62682db.tar.bz2 clang-3b54d86f4f0bedfffb6305b6f12283f9c62682db.tar.xz |
[OPENMP] Parsing and sema analysis for 'copyprivate' clause.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211886 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Sema.h')
-rw-r--r-- | include/clang/Sema/Sema.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h index e87a3e6a45..ce3024ec04 100644 --- a/include/clang/Sema/Sema.h +++ b/include/clang/Sema/Sema.h @@ -7279,8 +7279,8 @@ public: Expr *Op); /// \brief Called on start of new data sharing attribute block. void StartOpenMPDSABlock(OpenMPDirectiveKind K, - const DeclarationNameInfo &DirName, - Scope *CurScope); + const DeclarationNameInfo &DirName, Scope *CurScope, + SourceLocation Loc); /// \brief Called on end of data sharing attribute block. void EndOpenMPDSABlock(Stmt *CurDirective); @@ -7300,8 +7300,7 @@ public: ArrayRef<Expr *> VarList); // brief Initialization of captured region for OpenMP region. - void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, SourceLocation Loc, - Scope *CurScope); + void ActOnOpenMPRegionStart(OpenMPDirectiveKind DKind, Scope *CurScope); StmtResult ActOnOpenMPExecutableDirective(OpenMPDirectiveKind Kind, ArrayRef<OMPClause *> Clauses, Stmt *AStmt, @@ -7460,6 +7459,11 @@ public: SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc); + /// \brief Called on well-formed 'copyprivate' clause. + OMPClause *ActOnOpenMPCopyprivateClause(ArrayRef<Expr *> VarList, + SourceLocation StartLoc, + SourceLocation LParenLoc, + SourceLocation EndLoc); /// \brief The kind of conversion being performed. enum CheckedConversionKind { |