[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:05:17 PDT 2018


lebedev.ri added a comment.

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

> This patch doesn't appear to yet fix the "x++" or "x--" cases.


It won't, the increment/decrement happens on the original type, there is no cast there. https://godbolt.org/z/WuWA62
Those cases are for normal signed/unsigned overflow checks.


Repository:
  rC Clang

https://reviews.llvm.org/D53949





More information about the cfe-commits mailing list