[clang-tools-extra] [clang-tidy] Don't warn on misplaced-widening-cast for provably non-o… (PR #208162)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 8 00:55:30 PDT 2026


shivaansharma wrote:

That makes sense — I'll gate this behind a new option, off by default, so the existing behavior is unchanged unless a user opts in. I'll call it something like `IgnoreConstexprOverflowProven` (open to a better name if you have one) and update the docs/tests accordingly.

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


More information about the cfe-commits mailing list