From 6e670388c0b9212d53e42668be68b72ab93a86a8 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sat, 8 Nov 2008 08:20:49 +0000 Subject: Fix syntax of iterate_complex example. Noticed by Martin! llvm-svn: 58900 --- llvm/docs/ProgrammersManual.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/docs/ProgrammersManual.html') diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index e859098d154..e7e4ce86154 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/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 -- cgit v1.2.3