[PATCH] D22787: [OpenMP] Add support to map member expressions with references to pointers.

Samuel Antao via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 16:08:31 PDT 2016


sfantao created this revision.
sfantao added reviewers: ABataev, hfinkel, carlo.bertolli, arpith-jacob, kkwli0.
sfantao added subscribers: cfe-commits, caomhin.

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.

https://reviews.llvm.org/D22787

Files:
  lib/CodeGen/CGOpenMPRuntime.cpp
  test/OpenMP/target_map_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22787.65437.patch
Type: text/x-patch
Size: 13245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160725/ace33112/attachment.bin>


More information about the cfe-commits mailing list