[PATCH] D17369: [OpenMP] Code generation for target exit data directive
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 25 19:53:10 PST 2016
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
More information about the cfe-commits
mailing list