Eugene.Zelenko added a subscriber: Eugene.Zelenko. Eugene.Zelenko added a comment. Isn't readability-implicit-bool-cast¶ should catch such issues? If not, I think will be good idea to improve that check instead of introducing new one. http://reviews.llvm.org/D18745