[clang] [Sema] Diagnose tautological bounds checks (PR #120222)

Nathan Chancellor via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 13:12:48 PST 2024


nathanchance wrote:

> @nathanchance You are correct, this warning should indeed respect `-fwrapv`/`-fno-strict-overflow`. Your patch looks reasonable to me as well.

Thanks for the confirmation, I have submitted https://github.com/llvm/llvm-project/pull/120480 for this.

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


More information about the cfe-commits mailing list