[PATCH] D53949: [clang][CodeGen] Implicit Conversion Sanitizer: discover the world of CompoundAssign operators

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 31 14:22:53 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D53949#1282884, @regehr wrote:

> I do not agree that ++ is performed on the original type.


I was only talking about the IR.

In https://reviews.llvm.org/D53949#1282884, @regehr wrote:

> The C99 standard (6.5.3.1.2) appears to be very clear on this point: "The expression ++E is equivalent to (E+=1)."


That is clearly not what clang is doing here.


Repository:
  rC Clang

https://reviews.llvm.org/D53949





More information about the cfe-commits mailing list