aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/InstCount.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-16 06:58:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-16 06:58:55 +0000
commitf5e3cfe6d6f00192c056f13c0a0ada8f98a0611f (patch)
tree3844d91fc84f4762c37c0000c09a91ac73d6717a /llvm/lib/Analysis/InstCount.cpp
parent2732be9e52306637c1282a489a973062e30c08b2 (diff)
downloadllvm-f5e3cfe6d6f00192c056f13c0a0ada8f98a0611f.zip
llvm-f5e3cfe6d6f00192c056f13c0a0ada8f98a0611f.tar.gz
llvm-f5e3cfe6d6f00192c056f13c0a0ada8f98a0611f.tar.bz2
Standardize on 'class' instead of 'struct'. Gets rid of warnings in VC++
Patch contributed by Jeff Cohen. llvm-svn: 17889
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index 96c255b..12d16b0 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/lib/Analysis/InstCount.cpp
@@ -29,7 +29,7 @@ namespace {
#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; }