| ▲ | a_t48 5 hours ago | |
I believe there's ways to configure clang to flag dangerous implicit casts as well. | ||
| ▲ | Groxx 4 hours ago | parent [-] | |
-Wconversion perhaps: https://clang.llvm.org/docs/DiagnosticsReference.html#wconve... or -Wimplicit-int-conversion for the main check I've built in other languages (afaict, I have not used C(++) professionally) | ||