[clang-tools-extra] [clang-tidy] Add `modernize-use-bit-cast` check (PR #189962)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 07:54:31 PDT 2026


https://github.com/5chmidti commented:

I think the check should also support `sizeof(float)`, not just `sizeof(var)`. You can compare the underlying canonical types of the arg and the sizeof arg type. 

https://github.com/llvm/llvm-project/pull/189962


More information about the cfe-commits mailing list