diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:58:55 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:58:55 +0000 |
commit | f5e3cfe6d6f00192c056f13c0a0ada8f98a0611f (patch) | |
tree | 3844d91fc84f4762c37c0000c09a91ac73d6717a /llvm/lib/Analysis/InstCount.cpp | |
parent | 2732be9e52306637c1282a489a973062e30c08b2 (diff) | |
download | llvm-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.cpp | 2 |
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; } |