[clang] [Clang] Diagnose down casting static_cast (PR #117914)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 11:22:15 PST 2024


cor3ntin wrote:

If we don't feel like enabling this by default, a strategy would be to attach this warning to some `-fhardened` flag (as available in GCC)

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


More information about the cfe-commits mailing list