Commit Graph

5 Commits

Author SHA1 Message Date
Ralf Jung f32095cd8d promotion: don't promote int::MIN / -1 2024-02-24 12:17:37 +01:00
Ralf Jung 9a2d550050 lint-overflowing-ops: unify cases and remove redundancy 2024-02-23 15:29:33 +01:00
James Dietz 669f891845 remove exception 2024-02-22 10:04:20 -05:00
James Dietz 03f095f9f2 consolidate tests 2024-02-21 22:41:47 -05:00
Gurinder Singh 5010ca001c Enable `ConstPropLint` for promoteds
This fixes the issue wherein the lint didn't fire for promoteds
in the case of SHL/SHR operators in non-optimized builds
and all arithmetic operators in optimized builds
2024-02-17 10:44:46 +05:30