From: Nick Lewycky Date: Mon, 9 Oct 2006 18:33:08 +0000 (+0000) Subject: Fix usage example. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0376ade972840217ae708f634509646a15c84b3b;p=oota-llvm.git Fix usage example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30837 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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: