[OpenMP] Add support to map member expressions with references to pointers.
authorSamuel Antao <sfantao@us.ibm.com>
Wed, 27 Jul 2016 22:52:16 +0000 (22:52 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Wed, 27 Jul 2016 22:52:16 +0000 (22:52 +0000)
commit03a3cec4807674c4e5dc6c74834b9ed4bdf72edc
treea4f3cab3f600cf4977e4d18180d7c03277428fcb
parent403ffd409f2ddd09a40073ad4555ede99fdd988f
[OpenMP] Add support to map member expressions with references to pointers.

Summary: This patch add support to map pointers through references in class members. Although a reference does not have storage that a user can access, it still has to be mapped in order to get the deep copy right and the dereferencing code work properly.

Reviewers: hfinkel, carlo.bertolli, arpith-jacob, kkwli0, ABataev

Subscribers: caomhin, cfe-commits

Differential Revision: https://reviews.llvm.org/D22787

llvm-svn: 276934
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/target_map_codegen.cpp