[PATCH] D18110: [OpenMP] Fix SEMA bug in the capture of global variables in template functions.

Samuel Antao via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 15:31:07 PDT 2016


sfantao updated this revision to Diff 58704.
sfantao updated the summary for this revision.
sfantao added a comment.

Remove most of the logic in the first diff. It is no longer necessary given that all firstprivate 
captures are now passed by value no matter the directive they are captured in.

Still, there is a small fix related with template function and capture of globals.


http://reviews.llvm.org/D18110

Files:
  lib/Sema/SemaOpenMP.cpp
  test/OpenMP/target_codegen_global_capture.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18110.58704.patch
Type: text/x-patch
Size: 11620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160526/529b4c70/attachment-0001.bin>


More information about the cfe-commits mailing list