]> granicus.if.org Git - clang/commit
When building CFGs we now (unconditionally) add an empty CFGBlock to the CFG
authorTed Kremenek <kremenek@apple.com>
Mon, 17 Sep 2007 16:18:02 +0000 (16:18 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 17 Sep 2007 16:18:02 +0000 (16:18 +0000)
commit94b3316ee37743cb60bf552d5616b03d17e277da
treea7e9046b066eff88f2b91c4cf302be95cb588335
parentd2aecc354d80d16e1db8fc206d12bac549e688c5
When building CFGs we now (unconditionally) add an empty CFGBlock to the CFG
to serve as the entry block.  An empty entry block (just as with an
empty exit block, which we already have) simplifies building analyses on top
of CFGs with very little extra overhead.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42031 91177308-0d34-0410-b5e6-96231b3b80d8
AST/CFG.cpp