diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2006-10-09 18:33:08 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2006-10-09 18:33:08 +0000 |
commit | 0376ade972840217ae708f634509646a15c84b3b (patch) | |
tree | 34d4e2eb2f30eb303f60a296ef5291df6b02ac5d | |
parent | 2dc0f2b55cdcf53af2e07ef86069959aab0cc358 (diff) |
Fix usage example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30837 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/InstVisitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/InstVisitor.h b/include/llvm/Support/InstVisitor.h index 02027d8bb4..ca45d4c5d6 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: |