aminya added a comment.

I just hit this bug in my code where the subtraction of two size_t values 
resulted in a very large value. Fortunately, the address sanitizer immediately 
alerted me about the issue. It would be great to have such a warning in 
clang-tidy.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71607/new/

https://reviews.llvm.org/D71607

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

Reply via email to