From: Eric Christopher Date: Sat, 8 Nov 2008 08:20:49 +0000 (+0000) Subject: Fix syntax of iterate_complex example. Noticed by Martin! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=203e71db299b36eee5649d9a7223c3b13af496bc;p=oota-llvm.git Fix syntax of iterate_complex example. Noticed by Martin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58900 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index e859098d154..e7e4ce86154 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -1614,7 +1614,7 @@ class OurFunctionPass : public FunctionPass { virtual runOnFunction(Function& F) { for (Function::iterator b = F.begin(), be = F.end(); b != be; ++b) { - for (BasicBlock::iterator i = b->begin(); ie = b->end(); i != ie; ++i) { + for (BasicBlock::iterator i = b->begin(), ie = b->end(); i != ie; ++i) { if (CallInst* callInst = dyn_cast<CallInst>(&*i)) { // We know we've encountered a call instruction, so we