Changes in directory llvm/include/llvm/Support:

InstVisitor.h updated: 1.40 -> 1.41
---
Log message:

Fix usage example.


---
Diffs of the changes:  (+1 -1)

 InstVisitor.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Support/InstVisitor.h
diff -u llvm/include/llvm/Support/InstVisitor.h:1.40 
llvm/include/llvm/Support/InstVisitor.h:1.41
--- llvm/include/llvm/Support/InstVisitor.h:1.40        Wed May 31 10:30:18 2006
+++ llvm/include/llvm/Support/InstVisitor.h     Mon Oct  9 13:33:08 2006
@@ -53,7 +53,7 @@
 ///    unsigned Count;
 ///    CountMallocVisitor() : Count(0) {}
 ///
-///    void visitMallocInst(MallocInst *MI) { ++Count; }
+///    void visitMallocInst(MallocInst &MI) { ++Count; }
 ///  };
 ///
 ///  And this class would be used like this:



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to