diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:01:16 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-11-07 00:01:16 +0000 |
| commit | 83c4b687205e4e81da0602865fbc24350831cf6a (patch) | |
| tree | 0f99c9543b34f6f8a3133666c196ad2686fcdb1b /llvm/tools | |
| parent | 27f2447fb32ed08b45dba7bad8260cd5312a5132 (diff) | |
| download | bcm5719-llvm-83c4b687205e4e81da0602865fbc24350831cf6a.tar.gz bcm5719-llvm-83c4b687205e4e81da0602865fbc24350831cf6a.zip | |
ADT: Remove last implicit ilist iterator conversions, NFC
Some implicit ilist iterator conversions have crept back into Analysis,
Transforms, Hexagon, and llvm-stress. This removes them.
I'll commit a patch immediately after this to disallow them (in a
separate patch so that it's easy to revert if necessary).
llvm-svn: 252371
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-stress/llvm-stress.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-stress/llvm-stress.cpp b/llvm/tools/llvm-stress/llvm-stress.cpp index 6a1a248a057..86ac269bb0a 100644 --- a/llvm/tools/llvm-stress/llvm-stress.cpp +++ b/llvm/tools/llvm-stress/llvm-stress.cpp @@ -666,7 +666,7 @@ static void IntroduceControlFlow(Function *F, Random &R) { for (auto *Instr : BoolInst) { BasicBlock *Curr = Instr->getParent(); - BasicBlock::iterator Loc = Instr; + BasicBlock::iterator Loc = Instr->getIterator(); BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF"); Instr->moveBefore(Curr->getTerminator()); if (Curr != &F->getEntryBlock()) { |

