about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-18 22:56:39 +0100
committerGitHub <noreply@github.com>2019-01-18 22:56:39 +0100
commit0dd4bfa35616d43bb6b24f209baade9270afdb59 (patch)
treed33f6cbf0189accd484e103303b9d88c1fe1e42d /src/rustllvm/RustWrapper.cpp
parentbb683b9f3aacffd5db61c015a519349dbe4ed969 (diff)
parent069b0c410808c1d1d33b495e048b1186e9f8d57f (diff)
downloadrust-0dd4bfa35616d43bb6b24f209baade9270afdb59.tar.gz
rust-0dd4bfa35616d43bb6b24f209baade9270afdb59.zip
Rollup merge of #57302 - sinkuu:unused_assignments_fp, r=estebank
Fix unused_assignments false positive

Fixes #22630.

In liveness analysis, make `continue` jump to the loop condition's `LiveNode` (`cond` as in comment) instead of the loop's one (`expr`).

https://github.com/rust-lang/rust/blob/069b0c410808c1d1d33b495e048b1186e9f8d57f/src/librustc/middle/liveness.rs#L1358-L1370
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions