aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendAction.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-10-24 12:23:30 +0000
committerDuncan Sands <baldrick@free.fr>2010-10-24 12:23:30 +0000
commit31c803b2ba6333a9db18c384dff6b5da92e1d314 (patch)
tree177f8e66e53927d7cce0970d29414c3d1c680047 /clang/lib/Frontend/FrontendAction.cpp
parent772324971d6d32273fa17f7942c3678a146ba626 (diff)
downloadllvm-31c803b2ba6333a9db18c384dff6b5da92e1d314.zip
llvm-31c803b2ba6333a9db18c384dff6b5da92e1d314.tar.gz
llvm-31c803b2ba6333a9db18c384dff6b5da92e1d314.tar.bz2
Fix PR8445: a block with no predecessors may be the entry block, in which case
it isn't unreachable and should not be zapped. The check for the entry block was missing in one case: a block containing a unwind instruction. While there, do some small cleanups: "M" is not a great name for a Function* (it would be more appropriate for a Module*), change it to "Fn"; use Fn in more places. llvm-svn: 117224
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions