about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJames Miller <james@aatch.net>2014-12-16 12:21:08 +1300
committerJames Miller <james@aatch.net>2014-12-18 15:28:33 +1300
commiteee209d9e2dde700a3958f3e539eff02b63f50bd (patch)
tree822db6930a4286a44cc638cd11c7919908752538 /src/rustllvm/RustWrapper.cpp
parent22a9f250b5e2de64c13c0f056aec13eb086ef79d (diff)
downloadrust-eee209d9e2dde700a3958f3e539eff02b63f50bd.tar.gz
rust-eee209d9e2dde700a3958f3e539eff02b63f50bd.zip
Only count nested returns when the outer return is reachable
This narrows the definition of nested returns such that only when the
outer return has a chance of being executed (due to the inner return
being conditional) do we mark the function as having nested returns.

Fixes #19684
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions