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

Aditya Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 16 17:51:15 PDT 2018


hiraditya added a comment.

I'll probably make this warning for function arguments only (when bool* is passed to a function accepting bool). Many conditionals use bool* -> bool conversion as pointed out by  @Quuxplusone and @aaron.ballman


https://reviews.llvm.org/D45601





More information about the cfe-commits mailing list