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

================
Comment at: lib/CodeGen/CGStmtOpenMP.cpp:2781-2783
@@ +2780,5 @@
+  const Expr *IfCond = nullptr;
+  if (auto *C = S.getSingleClause<OMPIfClause>()) {
+    IfCond = C->getCondition();
+  }
+
----------------
Remove extra braces, not required for one line statement

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


http://reviews.llvm.org/D17369



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

Reply via email to