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;