summaryrefslogtreecommitdiff
path: root/docs/ProgrammersManual.html
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2008-11-08 08:20:49 +0000
committerEric Christopher <echristo@apple.com>2008-11-08 08:20:49 +0000
commit203e71db299b36eee5649d9a7223c3b13af496bc (patch)
tree5ae9ac02304927bbf30080d8588f73870d4a7b05 /docs/ProgrammersManual.html
parentae166410b992e7eb8652aba1c9010c043a8f6016 (diff)
downloadllvm-203e71db299b36eee5649d9a7223c3b13af496bc.tar.gz
llvm-203e71db299b36eee5649d9a7223c3b13af496bc.tar.bz2
llvm-203e71db299b36eee5649d9a7223c3b13af496bc.tar.xz
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.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index e859098d15..e7e4ce8615 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -1614,7 +1614,7 @@ class OurFunctionPass : public FunctionPass {
virtual runOnFunction(Function&amp; F) {
for (Function::iterator b = F.begin(), be = F.end(); b != be; ++b) {
- for (BasicBlock::iterator i = b-&gt;begin(); ie = b-&gt;end(); i != ie; ++i) {
+ for (BasicBlock::iterator i = b-&gt;begin(), ie = b-&gt;end(); i != ie; ++i) {
if (<a href="#CallInst">CallInst</a>* callInst = <a href="#isa">dyn_cast</a>&lt;<a
href="#CallInst">CallInst</a>&gt;(&amp;*i)) {
// <i>We know we've encountered a call instruction, so we</i>