[PATCH] D48958: [clang][ubsan] Implicit Cast Sanitizer - integer truncation - clang part

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 26 06:29:10 PDT 2018


erichkeane accepted this revision.
erichkeane added a comment.

1 Nit, otherwise LGTM.



================
Comment at: docs/UndefinedBehaviorSanitizer.rst:95
+     of bigger bit width to smaller bit width, if that results in data loss.
+     That is, if the demoted value, after casting back to the original width,
+     is not equal to the original value before the downcast. This issue may
----------------
I think the last 2 commas in this sentence are unnecessary?  


Repository:
  rC Clang

https://reviews.llvm.org/D48958





More information about the cfe-commits mailing list