[PATCH] D61422: [clang-tidy] Extend bugprone-sizeof-expression check to detect sizeof misuse in pointer arithmetic

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 3 02:27:34 PDT 2019


baloghadamsoftware added a comment.

In D61422#1488081 <https://reviews.llvm.org/D61422#1488081>, @aaron.ballman wrote:

> Out of curiosity, have you run this over any large code bases to see what the false positive and true positive rate is?


Neither false, nor true positives found so far. I ran it on several open-source projects.


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

https://reviews.llvm.org/D61422





More information about the cfe-commits mailing list