[llvm-commits] [llvm] r58900 - /llvm/trunk/docs/ProgrammersManual.html

Eric Christopher echristo at apple.com
Sat Nov 8 00:20:50 PST 2008


Author: echristo
Date: Sat Nov  8 02:20:49 2008
New Revision: 58900

URL: http://llvm.org/viewvc/llvm-project?rev=58900&view=rev
Log:
Fix syntax of iterate_complex example. Noticed by Martin!

Modified:
    llvm/trunk/docs/ProgrammersManual.html

Modified: llvm/trunk/docs/ProgrammersManual.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ProgrammersManual.html?rev=58900&r1=58899&r2=58900&view=diff

==============================================================================
--- llvm/trunk/docs/ProgrammersManual.html (original)
+++ llvm/trunk/docs/ProgrammersManual.html Sat Nov  8 02:20:49 2008
@@ -1614,7 +1614,7 @@
 
     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>





More information about the llvm-commits mailing list