OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc0f2b
)
Fix usage example.
author
Nick Lewycky
<nicholas@mxc.ca>
Mon, 9 Oct 2006 18:33:08 +0000
(18:33 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Mon, 9 Oct 2006 18:33:08 +0000
(18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30837
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/InstVisitor.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/InstVisitor.h
b/include/llvm/Support/InstVisitor.h
index
02027d8
..
ca45d4c
100644
(file)
--- 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: