diff options
| author | bors <bors@rust-lang.org> | 2022-11-20 22:51:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-20 22:51:25 +0000 |
| commit | e0c195961653dd41aa70a49379b137f6c816d61f (patch) | |
| tree | c63fb8a058593b1527fbdbe9ebe5dbe449e14051 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | a85c8f33ff0da5192bb44ac52cb838f638ad7c03 (diff) | |
| parent | e0b1463e0a0133ae49fc31aab3e7f18882ff00b0 (diff) | |
| download | rust-e0c195961653dd41aa70a49379b137f6c816d61f.tar.gz rust-e0c195961653dd41aa70a49379b137f6c816d61f.zip | |
Auto merge of #9592 - c410-f3r:arith, r=Jarcho
[arithmetic-side-effects] Detect overflowing associated constants of integers Triggers the negation of maximum unsigned integers using associated constants. Rustc already handles `-128i8` but doesn't handle `-i8::MAX`. At the same time, allows stuff like `-1234`. changelog: FP: [arithmetic-side-effects] Detect overflowing associated constants of integers
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
