[llvm-commits] CVS: llvm/lib/Analysis/InstCount.cpp
Reid Spencer
reid at x10sys.com
Mon Nov 15 22:59:06 PST 2004
Changes in directory llvm/lib/Analysis:
InstCount.cpp updated: 1.9 -> 1.10
---
Log message:
Standardize on 'class' instead of 'struct'. Gets rid of warnings in VC++
Patch contributed by Jeff Cohen.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Analysis/InstCount.cpp
diff -u llvm/lib/Analysis/InstCount.cpp:1.9 llvm/lib/Analysis/InstCount.cpp:1.10
--- llvm/lib/Analysis/InstCount.cpp:1.9 Wed Oct 27 11:10:15 2004
+++ llvm/lib/Analysis/InstCount.cpp Tue Nov 16 00:58:55 2004
@@ -29,7 +29,7 @@
#include "llvm/Instruction.def"
class InstCount : public FunctionPass, public InstVisitor<InstCount> {
- friend struct InstVisitor<InstCount>;
+ friend class InstVisitor<InstCount>;
void visitFunction (Function &F) { ++TotalFuncs; }
void visitBasicBlock(BasicBlock &BB) { ++TotalBlocks; }
More information about the llvm-commits
mailing list