[PATCH] D45601: Warn on bool* to bool conversion

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 13 06:07:41 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D45601#1067057, @aaron.ballman wrote:

> ...
>  This makes me wary of making this a compiler diagnostic, but clang-tidy may still be a reasonable place for this functionality to live.




In https://reviews.llvm.org/D45601#1066572, @Eugene.Zelenko wrote:

> There is Clang-tidy's readability-implicit-bool-conversion <http://clang.llvm.org/extra/clang-tidy/checks/readability-implicit-bool-conversion.html> check.



https://reviews.llvm.org/D45601





More information about the cfe-commits mailing list