]> granicus.if.org Git - clang/commit
Fix branch reachabiliy annotation for temp dtor branches.
authorManuel Klimek <klimek@google.com>
Fri, 8 Aug 2014 07:37:13 +0000 (07:37 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 8 Aug 2014 07:37:13 +0000 (07:37 +0000)
commitd6283e26da723687525b2449173f0e668ddf197c
treeb6112095539dc73191e86fb2e598c7cae625c7b1
parent16a9476fd64618df5d883b80553a9115a61fe2c5
Fix branch reachabiliy annotation for temp dtor branches.

As we only create temp dtor decision branches when a temp dtor needs to
be run (as opposed to for each logical branch in the original
expression), we must include the information about all previous logical
branches when we annotate the temp dtor decision branch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp
test/SemaCXX/return-noreturn.cpp