summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-31 02:50:07 +0000
committerChris Lattner <sabre@nondot.org>2003-08-31 02:50:07 +0000
commitc6c804b0d2b858d5ecded8c29fe6b086404ec0c9 (patch)
tree3bf462172d71c0f205e243938dd69f44ff42a888 /include
parent3e64b2e1a44b0bef896d645e9b293ab84dc16ab8 (diff)
downloadllvm-c6c804b0d2b858d5ecded8c29fe6b086404ec0c9.tar.gz
llvm-c6c804b0d2b858d5ecded8c29fe6b086404ec0c9.tar.bz2
llvm-c6c804b0d2b858d5ecded8c29fe6b086404ec0c9.tar.xz
Minor simplification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/BasicBlock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/BasicBlock.h b/include/llvm/BasicBlock.h
index 103761a23e..f4c75f1134 100644
--- a/include/llvm/BasicBlock.h
+++ b/include/llvm/BasicBlock.h
@@ -37,8 +37,7 @@ template<> struct ilist_traits<Instruction>
static iplist<Instruction> &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<Instruction> InstListType;
private :
InstListType InstList;