diff options
author | Eric Christopher <echristo@apple.com> | 2008-11-08 08:20:49 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2008-11-08 08:20:49 +0000 |
commit | 5fbecf7f0bda1834d79153bdd8e7f6b4f87abcb6 (patch) | |
tree | 5ae9ac02304927bbf30080d8588f73870d4a7b05 /docs/ProgrammersManual.html | |
parent | 886dafe6e0958d8da971a539954ae4c050c783da (diff) | |
download | external_llvm-5fbecf7f0bda1834d79153bdd8e7f6b4f87abcb6.zip external_llvm-5fbecf7f0bda1834d79153bdd8e7f6b4f87abcb6.tar.gz external_llvm-5fbecf7f0bda1834d79153bdd8e7f6b4f87abcb6.tar.bz2 |
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
Diffstat (limited to 'docs/ProgrammersManual.html')
-rw-r--r-- | docs/ProgrammersManual.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index e859098..e7e4ce8 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 (<a href="#CallInst">CallInst</a>* callInst = <a href="#isa">dyn_cast</a><<a href="#CallInst">CallInst</a>>(&*i)) { // <i>We know we've encountered a call instruction, so we</i> |