[PATCH] D17367: [OpenMP] Code generation for target data directive

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 20:18:58 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:2736-2738
@@ +2735,5 @@
+  const Expr *IfCond = nullptr;
+  if (auto *C = S.getSingleClause<OMPIfClause>()) {
+    IfCond = C->getCondition();
+  }
+
----------------
Extra braces

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


http://reviews.llvm.org/D17367





More information about the cfe-commits mailing list