[PATCH] D59103: [clang-tidy] New checker bugprone-incomplete-comparison-operator

Kalle Huttunen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 11:01:58 PST 2019


kallehuttunen added a comment.

In D59103#1421875 <https://reviews.llvm.org/D59103#1421875>, @lebedev.ri wrote:

> Thank you for working on this!
>
> This looks questionable to me.
>  Is this based on some coding standard?
>  Are there any numbers on the false-positive rate of theck?


It's not based on any coding standard, but is rather an attempt to eliminate one class of bugs (forgetting to update comparison operator when adding struct members) that I've encountered several times.


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D59103





More information about the cfe-commits mailing list