diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-07-04 23:09:02 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-07-04 23:09:02 +0000 |
| commit | d562d30a2064ea74f3c8a10c822dc53545abf17e (patch) | |
| tree | 16f4f32fb60a438dd4c5af76f2a9067c8fe299f3 /clang/lib/AST/DumpXML.cpp | |
| parent | 025949c366c9015210eac09f11c0f846668b9992 (diff) | |
| download | bcm5719-llvm-d562d30a2064ea74f3c8a10c822dc53545abf17e.tar.gz bcm5719-llvm-d562d30a2064ea74f3c8a10c822dc53545abf17e.zip | |
SuccIterator on bbs without terminator insts
Remove the assert that triggers if SuccIterator is constructed for a basic block
without a terminator instruction. Instead of triggering an assert a succ_end()
iterator is returned. This models a basic block with zero successors and allows
us to use F->viewCFG() on incompletely constructed functions.
llvm-svn: 134398
Diffstat (limited to 'clang/lib/AST/DumpXML.cpp')
0 files changed, 0 insertions, 0 deletions

