]> granicus.if.org Git - clang/commit
[OPENMP 4.5] Codegen for data members in 'reduction' clause.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 Mar 2016 04:57:40 +0000 (04:57 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 Mar 2016 04:57:40 +0000 (04:57 +0000)
commiteefab7c779cb29ec3855d9d75effdb28e75e763f
treeaab4d3c0d2d21a24381ec1241f7b1fc3f8974996
parentef36b882224929daeffb5f28659d784f694e3008
[OPENMP 4.5] Codegen for data members in 'reduction' clause.

OpenMP 4.5 allows to privatize non-static data members of current class
in non-static member functions. Patch supports codegen for non-static
data members in 'reduction' clauses.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262460 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/AST/OpenMPClause.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/Sema/Sema.h
lib/AST/OpenMPClause.cpp
lib/AST/StmtProfile.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/Sema/SemaExprMember.cpp
lib/Sema/SemaOpenMP.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/OpenMP/for_lastprivate_codegen.cpp
test/OpenMP/parallel_reduction_codegen.cpp
tools/libclang/CIndex.cpp