summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2014-05-23 17:09:56 +0000
committerManuel Klimek <klimek@google.com>2014-05-23 17:09:56 +0000
commita492ec1ecf375d529b431ef7ff18ea4ddedec549 (patch)
tree962613d9d43c85a6e721b7a51f18c5fac552d1e6 /lib/CodeGen/ModuleBuilder.cpp
parent9c4a4a0c41a66c2e9f82e1897265583e218634dd (diff)
downloadclang-a492ec1ecf375d529b431ef7ff18ea4ddedec549.tar.gz
clang-a492ec1ecf375d529b431ef7ff18ea4ddedec549.tar.bz2
clang-a492ec1ecf375d529b431ef7ff18ea4ddedec549.tar.xz
Make dead return statement detection more robust against changes in the CFG.
This change is a precondition to the proposed change to handle temporary dtors correctly. The idea is to explicitly search for the next return that doesn't have other paths into it (that is, if the current block is dead, the block containing the return must be dead, too). Thus, introducing non-control-flow block transitions will not break the logic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209531 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions