diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-10-27 16:14:51 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-10-27 16:14:51 +0000 |
| commit | 7dfc2d29acd088a7c1f2a77f0e48e10b6a16331a (patch) | |
| tree | 107e6ef532a46880025d2d53a7b4bb740b2d7df4 /llvm/lib/Analysis/InstCount.cpp | |
| parent | cebf2bbe9e7bd61e2dd09f06d2c638aadaea28dd (diff) | |
| download | bcm5719-llvm-7dfc2d29acd088a7c1f2a77f0e48e10b6a16331a.tar.gz bcm5719-llvm-7dfc2d29acd088a7c1f2a77f0e48e10b6a16331a.zip | |
Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++. Patch contributed by Morten Ofstad!
llvm-svn: 17281
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 12d16b081e7..96c255ba311 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 class InstVisitor<InstCount>; + friend struct InstVisitor<InstCount>; void visitFunction (Function &F) { ++TotalFuncs; } void visitBasicBlock(BasicBlock &BB) { ++TotalBlocks; } |

