danielmarjamaki added a comment.

In http://reviews.llvm.org/D16310#330367, @LegalizeAdulthood wrote:

> Why not supply a fixit that removes the cast?


I am skeptic. There are different valid fixes.

Example code:

  l = (long)(a*1000);

Fix1:

  l = ((long)a * 1000);

Fix2:

  l = (a * (long)1000);

Fix3:

  l = (a * 1000L);


Repository:
  rL LLVM

http://reviews.llvm.org/D16310



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

Reply via email to