From c6c804b0d2b858d5ecded8c29fe6b086404ec0c9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 31 Aug 2003 02:50:07 +0000 Subject: [PATCH] Minor simplification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8251 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/BasicBlock.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h index 103761a23ee..f4c75f11340 100644 --- a/include/llvm/BasicBlock.h +++ b/include/llvm/BasicBlock.h @@ -37,8 +37,7 @@ template<> struct ilist_traits static iplist &getList(BasicBlock *BB); }; -class BasicBlock : public Value { // Basic blocks are data objects also -public: +struct BasicBlock : public Value { // Basic blocks are data objects also typedef iplist InstListType; private : InstListType InstList;