]> granicus.if.org Git - clang/commit
[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)
commitb82333f682738cfd6e741527dcbc62bddfb9ab3d
tree8cb3267c3323d95a0c050dc01fae859941e130aa
parentb28136e677c4d5e6bb629a3bafd4ebbe232a00c2
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276934 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/target_map_codegen.cpp