lebedev.ri added a comment. Looks like this and more is already being caught by clang-tidy's google-readability-casting check <https://godbolt.org/z/Pdsfq5PTK>. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136156/new/ https://reviews.llvm.org/D136156