diff options
| author | bors <bors@rust-lang.org> | 2014-11-03 07:37:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-11-03 07:37:23 +0000 |
| commit | 851799d09e48e06f3fd0c4c6f694af51fc655f9a (patch) | |
| tree | 4b42d68a654dba8bf6b06e1c1a195e95e8a3059c /src/rustllvm/RustWrapper.cpp | |
| parent | ff50f24feb512075f3fcf9fc2801e4c853ff9316 (diff) | |
| parent | e5058a8f0c8b9ad6dbfe53fb8b84e636db501ae2 (diff) | |
| download | rust-851799d09e48e06f3fd0c4c6f694af51fc655f9a.tar.gz rust-851799d09e48e06f3fd0c4c6f694af51fc655f9a.zip | |
auto merge of #18206 : hirschenberger/rust/issue-17713, r=thestinger
Add lint for checking exceeding bitshifts #17713 It also const-evaluates the shift width (RHS) to check more complex shifts like `1u8 << (4+5)`. The lint-level is set to `Warn` but perhaps it must be `Deny` as in llvm exceeding bitshifts are undefined as @ben0x539 stated in #17713
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
