From 1fca5ff62bb2ecb5bfc8974f4dbfc56e9d3ca721 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 27 Oct 2004 16:14:51 +0000 Subject: Convert 'struct' to 'class' in various places to adhere to the coding standards and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/InstCount.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/InstCount.cpp') diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp index 12d16b081e..96c255ba31 100644 --- a/lib/Analysis/InstCount.cpp +++ b/lib/Analysis/InstCount.cpp @@ -29,7 +29,7 @@ namespace { #include "llvm/Instruction.def" class InstCount : public FunctionPass, public InstVisitor { - friend class InstVisitor; + friend struct InstVisitor; void visitFunction (Function &F) { ++TotalFuncs; } void visitBasicBlock(BasicBlock &BB) { ++TotalBlocks; } -- cgit v1.2.3-70-g09d2