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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits