]> granicus.if.org Git - clang/commit
Remove invalid assertion from CFG builder. When building the CFG pieces for a ternar...
authorTed Kremenek <kremenek@apple.com>
Mon, 15 Nov 2010 22:59:22 +0000 (22:59 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 15 Nov 2010 22:59:22 +0000 (22:59 +0000)
commite4ae4dc87fa57e3062077514964b6d75bfa1fed1
treeb49b51ff5b140ea3b88fae463c01c3ffe6a3944e
parent82f3c50fa163f99d1407849e556d3859a09afd78
Remove invalid assertion from CFG builder.  When building the CFG pieces for a ternary '?' expression,
it is possible for the confluence block to only have a single predecessor due to calls to 'noreturn'
functions.  Fixes assertion failure reported in PR 8619.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119284 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CFG.cpp
test/Analysis/misc-ps.m