summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/RecursiveASTVisitorTest.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-09 22:47:24 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-09 22:47:24 +0000
commit32090aba064cb58592b62bacd3d1b3ac590b7cb5 (patch)
tree80e3beb99cf4c0711145547905e1257b0428ba87 /clang/unittests/Tooling/RecursiveASTVisitorTest.cpp
parentbeadec4afd8d5ae7964a282e1200de2a4d61228b (diff)
downloadbcm5719-llvm-32090aba064cb58592b62bacd3d1b3ac590b7cb5.tar.gz
bcm5719-llvm-32090aba064cb58592b62bacd3d1b3ac590b7cb5.zip
Kill some duplicated code for removing unreachable BBs.
This moves removeUnreachableBlocksFromFn from SimplifyCFGPass.cpp to Utils/Local.cpp and uses it to replace the implementation of llvm::removeUnreachableBlocks, which appears to do a strict subset of what removeUnreachableBlocksFromFn does. Differential Revision: http://llvm-reviews.chandlerc.com/D1334 llvm-svn: 188119
Diffstat (limited to 'clang/unittests/Tooling/RecursiveASTVisitorTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud