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
This commit is contained in:
Chris Lattner
2004-10-27 16:14:51 +00:00
parent 3acd9181df
commit 1fca5ff62b
35 changed files with 96 additions and 71 deletions

View File

@ -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; }