[PATCH] D11395: [OpenMP] Add capture for threadprivate variables used in copyin clause

Samuel Antao sfantao at us.ibm.com
Sun Jul 26 19:29:03 PDT 2015


sfantao added inline comments.

================
Comment at: lib/Sema/SemaOpenMP.cpp:657
@@ -651,3 +656,3 @@
 
 bool Sema::IsOpenMPCapturedVar(VarDecl *VD) {
   assert(LangOpts.OpenMP && "OpenMP is not allowed");
----------------
Thanks Alexey, that works. The new patch uses what you are suggesting and updates the regression tests accordingly. 


http://reviews.llvm.org/D11395







More information about the cfe-commits mailing list