chandlerc added a comment. In D157188#4563143 <https://reviews.llvm.org/D157188#4563143>, @Eugene.Zelenko wrote:
> In D157188#4563139 <https://reviews.llvm.org/D157188#4563139>, @PiotrZSL > wrote: > >> In D157188#4563105 <https://reviews.llvm.org/D157188#4563105>, >> @Eugene.Zelenko wrote: >> >>> Shouldn't C-style allocation be checked too? Same for custom allocators via >>> configuration option. >> >> In theory it could, but in such case name of check would need to change... > > Something like `bugprone-resource-bool-conversion` should be generic enough. Maybe `bugprone-allocation-bool-conversion`? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D157188/new/ https://reviews.llvm.org/D157188 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits