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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to