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

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 11:49:12 PST 2019


JonasToth added a comment.

@lebedev.ri @kallehuttunen what do you think of putting this into context of the proposal (i believe its being standardized with c++20) of `operator==() = default` and the spaceship-operator.
This check could serve as a basis to modernize the `operator==` to the default if appropriate and warn/diagnose in the other cases.
WDYT?


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