hfinkel added inline comments.

================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:3068
+def err_impcast_complex_scalar : Error<
+  "implicit conversion discards imaginary component: %0 to %1">;
 def warn_impcast_float_precision : Warning<
----------------
I think that, as an error, we should word this differently. How about:
  implicit conversion from %0 to %1 is not permitted in C++



https://reviews.llvm.org/D35817



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

Reply via email to