forked from OSchip/llvm-project
parent
9e29ec371a
commit
afb040a603
|
@ -53,7 +53,7 @@ class AllocationInst;
|
||||||
/// unsigned Count;
|
/// unsigned Count;
|
||||||
/// CountMallocVisitor() : Count(0) {}
|
/// CountMallocVisitor() : Count(0) {}
|
||||||
///
|
///
|
||||||
/// void visitMallocInst(MallocInst *MI) { ++Count; }
|
/// void visitMallocInst(MallocInst &MI) { ++Count; }
|
||||||
/// };
|
/// };
|
||||||
///
|
///
|
||||||
/// And this class would be used like this:
|
/// And this class would be used like this:
|
||||||
|
|
Loading…
Reference in New Issue