summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCleanup.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-11-06 23:00:41 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-11-06 23:00:41 +0000
commit9f5260ab1350519b6569e67e0cf30a265f02dd20 (patch)
tree956c0cc6bfb897642e7b9b02e57185a264a14d7e /clang/lib/CodeGen/CGCleanup.cpp
parentb8f58b53dd3b3cbecf6946b0ce6fc9923db9223a (diff)
downloadbcm5719-llvm-9f5260ab1350519b6569e67e0cf30a265f02dd20.tar.gz
bcm5719-llvm-9f5260ab1350519b6569e67e0cf30a265f02dd20.zip
CodeGen: Remove implicit ilist iterator conversions, NFC
Make ilist iterator conversions explicit in clangCodeGen. Eventually I'll remove them everywhere. llvm-svn: 252358
Diffstat (limited to 'clang/lib/CodeGen/CGCleanup.cpp')
-rw-r--r--clang/lib/CodeGen/CGCleanup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCleanup.cpp b/clang/lib/CodeGen/CGCleanup.cpp
index f1f6a8b8f32..5b6e497673c 100644
--- a/clang/lib/CodeGen/CGCleanup.cpp
+++ b/clang/lib/CodeGen/CGCleanup.cpp
@@ -945,8 +945,8 @@ void CodeGenFunction::PopCleanupBlock(bool FallthroughIsBranchThrough) {
if (CleanupEndBB) {
EHStack.popPadEnd();
if (CleanupEndBB->hasNUsesOrMore(1)) {
- CurFn->getBasicBlockList().insertAfter(Builder.GetInsertBlock(),
- CleanupEndBB);
+ CurFn->getBasicBlockList().insertAfter(
+ Builder.GetInsertBlock()->getIterator(), CleanupEndBB);
} else {
delete CleanupEndBB;
}
OpenPOWER on IntegriCloud