From 0376ade972840217ae708f634509646a15c84b3b Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 9 Oct 2006 18:33:08 +0000 Subject: [PATCH] Fix usage example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30837 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/InstVisitor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 02027d8bb43..ca45d4c5d6d 100644 --- a/include/llvm/Support/InstVisitor.h +++ b/include/llvm/Support/InstVisitor.h @@ -53,7 +53,7 @@ class AllocationInst; /// unsigned Count; /// CountMallocVisitor() : Count(0) {} /// -/// void visitMallocInst(MallocInst *MI) { ++Count; } +/// void visitMallocInst(MallocInst &MI) { ++Count; } /// }; /// /// And this class would be used like this: