nathanchance added a comment. In D72231#1879347 <https://reviews.llvm.org/D72231#1879347>, @rjmccall wrote:
> Warning about casting to an enum seems clearly correct and in scope for this > warning. Warning about casting to `_Bool` seems clearly incorrect and should > not be warned about at all. Fair enough. There are 97 unique instances of the enum variant of the warning across the various configs that I test so I will start sending patches to add `uintptr_t` casts to silence it. https://gist.github.com/nathanchance/2c2892e9e4b411fa78770ed3624812b4 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D72231/new/ https://reviews.llvm.org/D72231 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits