[PATCH] D17368: [OpenMP] Code generation for target enter data directive

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 19:58:21 PST 2016


ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.

LG


================
Comment at: lib/CodeGen/CGStmtOpenMP.cpp:2758-2760
@@ +2757,5 @@
+  const Expr *IfCond = nullptr;
+  if (auto *C = S.getSingleClause<OMPIfClause>()) {
+    IfCond = C->getCondition();
+  }
+
----------------
Extra braces

================
Comment at: lib/CodeGen/CGStmtOpenMP.cpp:2764-2766
@@ +2763,5 @@
+  const Expr *Device = nullptr;
+  if (auto *C = S.getSingleClause<OMPDeviceClause>()) {
+    Device = C->getDevice();
+  }
+
----------------
Extra braces


http://reviews.llvm.org/D17368





More information about the cfe-commits mailing list