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

Kalle Huttunen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 07:17:16 PST 2019


kallehuttunen added a comment.

Another idea that came to my mind would be to enable this check only for annotated types. So warning for missing field access would be only given for types that have for example `[[clang::annotate("value type")]]` annotation. Possibly other kinds of checks could be also developed for types that have the given annotation.


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