about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-07-17 14:32:37 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-07-22 20:38:40 +0200
commit06e130fb241cf3c828040d7d4958bf1945226e9c (patch)
tree8a48546fed6898d197e667ff3e0c8917a6acd1c9 /src/rustllvm/RustWrapper.cpp
parent13d17adf6059552358c8601aaa407aea5ddddb98 (diff)
downloadrust-06e130fb241cf3c828040d7d4958bf1945226e9c.tar.gz
rust-06e130fb241cf3c828040d7d4958bf1945226e9c.zip
Use checked NonZero constructor in MIR move path indices
… to protect against UB in the unlikely case that `idx + 1` overflows.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions