pxli168 added inline comments. ================ Comment at: lib/Sema/SemaCast.cpp:2324-2326 @@ +2323,5 @@ + } else { + Self.Diag(OpRange.getBegin(), + diag::error_opencl_cast_non_zero_to_event_t) + << intValue.toString(10) << SrcExpr.get()->getSourceRange(); + SrcExpr = ExprError(); ---------------- pxli168 wrote: > Indent. > You can try to use clang-format to help keep these right. Need a test case for this.
http://reviews.llvm.org/D17578 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits