[PATCH] [PATCH] OpenMP firstprivate clause

Alexey Bataev a.bataev at hotmail.com
Thu Sep 26 22:56:21 PDT 2013



================
Comment at: lib/Sema/SemaOpenMP.cpp:1055
@@ +1054,3 @@
+    }
+    if (DVar.CKind != OMPC_unknown && DVar.CKind != OMPC_firstprivate &&
+        !(DVar.CKind == OMPC_shared && !DVar.RefExpr &&
----------------
Alexey Bataev wrote:
> Wei Pan wrote:
> > Seem difficult to read what it is checking. In particular, DVar.RefExpr is also checked inside if-then.
> Ok, Шэд try to improve the code.
Ooops, sorry, "I'll try to improve the code"


http://llvm-reviews.chandlerc.com/D1694



More information about the cfe-commits mailing list