diff options
| author | Philipp Krones <hello@philkrones.com> | 2020-04-15 20:12:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-15 20:12:29 +0200 |
| commit | 2538e6388590fe592cd41c7d38bb1ade63f7d309 (patch) | |
| tree | bb6b04904ce7f089d67d575b79d209c4abd62b2d /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | ceea3c6a35bfada9536bac674fc6308831f1938c (diff) | |
| parent | 23df4a0183e0d954d47db98824295411d50f742e (diff) | |
| download | rust-2538e6388590fe592cd41c7d38bb1ade63f7d309.tar.gz rust-2538e6388590fe592cd41c7d38bb1ade63f7d309.zip | |
Rollup merge of #5430 - michaelsproul:integer-arithmetic, r=flip1995
Disallow bit-shifting in integer_arithmetic Make the `integer_arithmetic` lint detect all the operations that are defined as being capable of overflow in the [Rust Reference](https://doc.rust-lang.org/reference/expressions/operator-expr.html#overflow), by also linting for bit-shifting operations (`<<`, `>>`). changelog: Disallow bit-shifting in `integer_arithmetic`
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
